Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 104.4 kB / 18.35 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 51.92 kB / 282.1 MB, free: 2.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09944, allocations: 46.62 MB / 328.7 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.006864/0.1064, allocations: 3.731 MB / 332.5 MB, free: 36 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.1093, allocations: 1.056 MB / 333.5 MB, free: 14.97 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.1097, allocations: 19.88 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.1102, allocations: 150.8 kB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.1113, allocations: 294.4 kB / 334 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.1117, allocations: 135.8 kB / 334.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.1137, allocations: 1.444 MB / 335.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.1154, allocations: 1.146 MB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1165, allocations: 0.6463 MB / 337.3 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.1179, allocations: 0.7705 MB / 338.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.1182, allocations: 160 kB / 338.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1185, allocations: 160 kB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.119, allocations: 466.8 kB / 338.9 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.1202, allocations: 0.735 MB / 339.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1222, allocations: 2.06 MB / 341.7 MB, free: 6.758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1222, allocations: 7.938 kB / 341.7 MB, free: 6.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1222, allocations: 0 / 341.7 MB, free: 6.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.1223, allocations: 0 / 341.7 MB, free: 6.75 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002801/0.1251, allocations: 1.68 MB / 343.4 MB, free: 5.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1251, allocations: 8.031 kB / 343.4 MB, free: 5.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.1254, allocations: 147.2 kB / 343.5 MB, free: 4.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.1267, allocations: 0.8345 MB / 344.3 MB, free: 3.988 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.1267, allocations: 82.62 kB / 344.4 MB, free: 3.906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.1269, allocations: 111.9 kB / 344.5 MB, free: 3.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.1294, allocations: 1.564 MB / 346.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1295, allocations: 3.938 kB / 346.1 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.1296, allocations: 48 kB / 346.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.1296, allocations: 28 kB / 346.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.1316, allocations: 1.324 MB / 347.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006506/0.1381, allocations: 4.271 MB / 351.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1393, allocations: 1.33 MB / 353.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/0.1402, allocations: 0.5307 MB / 353.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1403, allocations: 8.438 kB / 353.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1403, allocations: 39 kB / 353.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.916e-06/0.1403, allocations: 0 / 353.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001463/0.1418, allocations: 0.8806 MB / 354.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1418, allocations: 55.84 kB / 354.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1429, allocations: 0.8204 MB / 355.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.143, allocations: 41.7 kB / 355.5 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.1433, allocations: 0.5414 MB / 356 MB, free: 7.898 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1435, allocations: 173.5 kB / 356.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1437, allocations: 106.2 kB / 356.3 MB, free: 7.613 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1438, allocations: 390.7 kB / 356.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.1443, allocations: 300.9 kB / 357 MB, free: 6.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.1448, allocations: 394.5 kB / 357.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.1458, allocations: 0.6941 MB / 358 MB, free: 5.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1458, allocations: 7.938 kB / 358 MB, free: 5.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001225/0.147, allocations: 0.8181 MB / 358.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.147, allocations: 8 kB / 358.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.1471, allocations: 4 kB / 358.9 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.1471, allocations: 4.281 kB / 358.9 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.1477, allocations: 151.8 kB / 359 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.1477, allocations: 4 kB / 359 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/0.1481, allocations: 71.34 kB / 359.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.1481, allocations: 20 kB / 359.1 MB, free: 4.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.1487, allocations: 462.4 kB / 359.6 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1488, allocations: 75.16 kB / 359.6 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.149, allocations: 87.08 kB / 359.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.149, allocations: 8 kB / 359.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.149, allocations: 4 kB / 359.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.149, allocations: 7.922 kB / 359.8 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.152, allocations: 1.938 MB / 361.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.1521, allocations: 0 / 361.7 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000512/0.1526, allocations: 119.9 kB / 361.8 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.1526, allocations: 4 kB / 361.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.1526, allocations: 8.156 kB / 361.8 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.1526, allocations: 15.92 kB / 361.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1527, allocations: 0 / 361.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.1541, allocations: 1.122 MB / 363 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.1543, allocations: 168.2 kB / 363.1 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.1544, allocations: 16 kB / 363.1 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.1548, allocations: 43.95 kB / 363.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.155, allocations: 52.25 kB / 363.2 MB, free: 468 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.155, allocations: 16 kB / 363.2 MB, free: 452 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006959/0.1557, allocations: 0.5888 MB / 363.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1557, allocations: 3.938 kB / 363.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000665/0.1564, allocations: 282.7 kB / 364.1 MB, free: 15.58 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.1565, allocations: 111.1 kB / 364.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009777/0.1575, allocations: 0.6614 MB / 364.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1575, allocations: 0 / 364.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.158, allocations: 323.1 kB / 365.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/0.1588, allocations: 182.8 kB / 365.4 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.1621, allocations: 2.274 MB / 367.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.163, allocations: 1.34 MB / 369 MB, free: 10.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004267/0.1634, allocations: 201.8 kB / 369.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.1636, allocations: 59.42 kB / 369.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1636, allocations: 0 / 369.2 MB, free: 10.35 MB / 318.1 MB Notification: Performance of Templates: time 0.01656/0.1802, allocations: 10 MB / 379.3 MB, free: 352 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches