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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009842/0.0009842, allocations: 94.22 kB / 262.5 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.678e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09071/0.09074, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.3966, allocations: 80.52 MB / 443.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.3969, allocations: 72.33 kB / 443.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04647/0.4434, allocations: 18.79 MB / 462.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4434, allocations: 3.938 kB / 462.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.805e-05/0.4435, allocations: 35.31 kB / 462.5 MB, free: 15.41 MB / 346.7 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.002349/0.4459, allocations: 1.338 MB / 463.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4459, allocations: 12.03 kB / 463.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.4461, allocations: 142.3 kB / 464 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.4476, allocations: 0.9075 MB / 464.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.071e-05/0.4476, allocations: 39.95 kB / 464.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4478, allocations: 67.19 kB / 465 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/0.4494, allocations: 1.111 MB / 466.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.4513, allocations: 1.324 MB / 467.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4513, allocations: 4 kB / 467.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.4514, allocations: 3.984 kB / 467.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.4514, allocations: 28 kB / 467.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005837/0.4573, allocations: 4.097 MB / 471.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.4583, allocations: 1.274 MB / 472.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.4588, allocations: 429.7 kB / 473.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.4589, allocations: 4.438 kB / 473.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4589, allocations: 42.75 kB / 473.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.276e-06/0.4589, allocations: 4 kB / 473.3 MB, free: 6.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.000797/0.4597, allocations: 0.5583 MB / 473.9 MB, free: 6.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.4598, allocations: 59.84 kB / 473.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.4606, allocations: 0.6652 MB / 474.6 MB, free: 5.461 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4606, allocations: 25.7 kB / 474.6 MB, free: 5.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.4609, allocations: 0.5457 MB / 475.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4611, allocations: 173.5 kB / 475.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.4611, allocations: 0 / 475.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4613, allocations: 390.6 kB / 475.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003195/0.4616, allocations: 269 kB / 476 MB, free: 4.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/0.462, allocations: 361.4 kB / 476.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.4624, allocations: 325.9 kB / 476.6 MB, free: 3.477 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4624, allocations: 4 kB / 476.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009356/0.4634, allocations: 0.7285 MB / 477.4 MB, free: 2.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4634, allocations: 12.03 kB / 477.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4634, allocations: 0 / 477.4 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4634, allocations: 8 kB / 477.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.464, allocations: 151.8 kB / 477.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.464, allocations: 7.984 kB / 477.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4644, allocations: 51.5 kB / 477.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.4644, allocations: 20 kB / 477.6 MB, free: 2.496 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.4646, allocations: 116.8 kB / 477.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4647, allocations: 71.16 kB / 477.8 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.4649, allocations: 86.55 kB / 477.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4649, allocations: 4 kB / 477.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4649, allocations: 0 / 477.9 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4649, allocations: 7.984 kB / 477.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.4673, allocations: 1.692 MB / 479.6 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4673, allocations: 0 / 479.6 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.4678, allocations: 119.9 kB / 479.7 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.4678, allocations: 4 kB / 479.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.4679, allocations: 7.953 kB / 479.7 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4679, allocations: 4 kB / 479.7 MB, free: 332 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4679, allocations: 8 kB / 479.7 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.4691, allocations: 1.041 MB / 480.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.4693, allocations: 172.2 kB / 480.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.229e-05/0.4694, allocations: 4 kB / 480.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.4697, allocations: 43.95 kB / 481 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.4698, allocations: 36.38 kB / 481 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.4699, allocations: 20 kB / 481 MB, free: 14.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005828/0.4705, allocations: 0.5147 MB / 481.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4705, allocations: 0 / 481.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006457/0.4711, allocations: 262.8 kB / 481.8 MB, free: 14.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.4713, allocations: 112 kB / 481.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.472, allocations: 0.5737 MB / 482.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.472, allocations: 0.5625 kB / 482.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.4724, allocations: 293.4 kB / 482.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.4731, allocations: 149 kB / 482.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.4759, allocations: 1.809 MB / 484.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009285/0.4768, allocations: 1.359 MB / 486.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000465/0.4773, allocations: 205.5 kB / 486.3 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4775, allocations: 55.42 kB / 486.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4775, allocations: 0 / 486.3 MB, free: 9.543 MB / 362.7 MB Notification: Performance of Templates: time 0.01369/0.4912, allocations: 7.714 MB / 494.1 MB, free: 1.824 MB / 362.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches