Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00223/0.00223, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 87.08 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.932e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3309, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4585, allocations: 80.29 MB / 442.6 MB, free: 6.012 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.4588, allocations: 71.97 kB / 442.7 MB, free: 5.941 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08142/0.5403, allocations: 18.8 MB / 461.5 MB, free: 3.117 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5403, allocations: 0 / 461.5 MB, free: 3.117 MB / 347.1 MB Notification: Performance of Transformations before backend: time 0.0001245/0.5404, allocations: 35.94 kB / 461.5 MB, free: 3.082 MB / 347.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.004384/0.5448, allocations: 1.344 MB / 462.9 MB, free: 1.691 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5449, allocations: 8.031 kB / 462.9 MB, free: 1.684 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/0.5455, allocations: 142.3 kB / 463 MB, free: 1.543 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.5483, allocations: 0.9063 MB / 463.9 MB, free: 0.5898 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.5484, allocations: 39.95 kB / 464 MB, free: 0.5508 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.5487, allocations: 64 kB / 464 MB, free: 500 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003256/0.552, allocations: 1.109 MB / 465.1 MB, free: 15.38 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003937/0.5559, allocations: 1.334 MB / 466.5 MB, free: 13.97 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.556, allocations: 0 / 466.5 MB, free: 13.97 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.5562, allocations: 0 / 466.5 MB, free: 13.97 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.5563, allocations: 28 kB / 466.5 MB, free: 13.95 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.568, allocations: 4.104 MB / 470.6 MB, free: 9.727 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5698, allocations: 1.268 MB / 471.9 MB, free: 8.285 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009666/0.5708, allocations: 426 kB / 472.3 MB, free: 7.867 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.399e-05/0.5708, allocations: 8.422 kB / 472.3 MB, free: 7.855 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.5709, allocations: 51.58 kB / 472.3 MB, free: 7.797 MB / 363.1 MB Notification: Performance of pre-optimization done (n=51): time 3.397e-06/0.5709, allocations: 0 / 472.3 MB, free: 7.797 MB / 363.1 MB Notification: Performance of matching and sorting (n=51): time 0.001538/0.5725, allocations: 0.5616 MB / 472.9 MB, free: 7.227 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5725, allocations: 55.84 kB / 472.9 MB, free: 7.16 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.574, allocations: 0.6634 MB / 473.6 MB, free: 6.492 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.5742, allocations: 25.7 kB / 473.6 MB, free: 6.461 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.5747, allocations: 0.5673 MB / 474.2 MB, free: 5.887 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.575, allocations: 173.3 kB / 474.4 MB, free: 5.715 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.575, allocations: 0 / 474.4 MB, free: 5.715 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5752, allocations: 334.8 kB / 474.7 MB, free: 5.379 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.5759, allocations: 276.9 kB / 475 MB, free: 5.105 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.5766, allocations: 365.4 kB / 475.3 MB, free: 4.719 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.5774, allocations: 329.9 kB / 475.6 MB, free: 4.395 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5774, allocations: 0 / 475.6 MB, free: 4.395 MB / 363.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001608/0.579, allocations: 0.6741 MB / 476.3 MB, free: 3.719 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.5791, allocations: 13.23 kB / 476.3 MB, free: 3.707 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.5791, allocations: 8.281 kB / 476.3 MB, free: 3.699 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.5791, allocations: 4 kB / 476.3 MB, free: 3.695 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5804, allocations: 147.8 kB / 476.5 MB, free: 3.551 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.5805, allocations: 7.984 kB / 476.5 MB, free: 3.543 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007454/0.5812, allocations: 47.52 kB / 476.5 MB, free: 3.496 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/0.5813, allocations: 19.98 kB / 476.6 MB, free: 3.477 MB / 363.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 () * 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.0001889/0.5815, allocations: 128.6 kB / 476.7 MB, free: 3.344 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.5817, allocations: 71.16 kB / 476.8 MB, free: 3.273 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.582, allocations: 78.61 kB / 476.8 MB, free: 3.191 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.582, allocations: 8 kB / 476.8 MB, free: 3.184 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.582, allocations: 0 / 476.8 MB, free: 3.184 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.582, allocations: 3.984 kB / 476.8 MB, free: 3.18 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/0.5863, allocations: 1.689 MB / 478.5 MB, free: 1.438 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5864, allocations: 8.078 kB / 478.5 MB, free: 1.43 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.5875, allocations: 111.9 kB / 478.7 MB, free: 1.32 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.5875, allocations: 7.984 kB / 478.7 MB, free: 1.312 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.5876, allocations: 11.95 kB / 478.7 MB, free: 1.301 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5876, allocations: 0 / 478.7 MB, free: 1.301 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.5876, allocations: 4 kB / 478.7 MB, free: 1.297 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.5898, allocations: 1.041 MB / 479.7 MB, free: 216 kB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/0.5903, allocations: 164.2 kB / 479.9 MB, free: 32 kB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5904, allocations: 0 / 479.9 MB, free: 32 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.5912, allocations: 52.02 kB / 479.9 MB, free: 15.98 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5914, allocations: 36.31 kB / 480 MB, free: 15.95 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.5915, allocations: 16 kB / 480 MB, free: 15.93 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.001093/0.5926, allocations: 0.5186 MB / 480.5 MB, free: 15.42 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5926, allocations: 0 / 480.5 MB, free: 15.42 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.00113/0.5938, allocations: 270.7 kB / 480.8 MB, free: 15.15 MB / 379.1 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.0002417/0.594, allocations: 113.1 kB / 480.9 MB, free: 15.03 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.5955, allocations: 0.5737 MB / 481.4 MB, free: 14.45 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.5955, allocations: 7.938 kB / 481.5 MB, free: 14.44 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006341/0.5962, allocations: 286 kB / 481.7 MB, free: 14.16 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5976, allocations: 143.2 kB / 481.9 MB, free: 14.02 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.6029, allocations: 1.819 MB / 483.7 MB, free: 12.16 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.6044, allocations: 1.344 MB / 485 MB, free: 10.78 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.6048, allocations: 55.42 kB / 485.1 MB, free: 10.73 MB / 379.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6049, allocations: 0 / 485.1 MB, free: 10.73 MB / 379.1 MB Notification: Performance of Templates: time 0.03095/0.6358, allocations: 12.55 MB / 497.6 MB, free: 14.2 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches