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.001406/0.001406, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 224.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008301/0.0008301, allocations: 90.34 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08983/0.2946, allocations: 81.1 MB / 458.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.2949, allocations: 83.94 kB / 458.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04996/0.3449, allocations: 18.94 MB / 477.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3449, allocations: 0 / 477.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.345, allocations: 32 kB / 477.2 MB, free: 12.25 MB / 362.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.003247/0.3483, allocations: 1.458 MB / 478.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3484, allocations: 8.031 kB / 478.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.3488, allocations: 143.2 kB / 478.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.3505, allocations: 0.9455 MB / 479.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.3506, allocations: 82.62 kB / 479.8 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.3508, allocations: 112.4 kB / 479.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.3552, allocations: 1.534 MB / 481.5 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.631e-05/0.3553, allocations: 4.188 kB / 481.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.3555, allocations: 47.94 kB / 481.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/0.3555, allocations: 32 kB / 481.5 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/0.3596, allocations: 1.231 MB / 482.8 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/0.3714, allocations: 4.323 MB / 487.1 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.3734, allocations: 1.317 MB / 488.4 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.3746, allocations: 477.9 kB / 488.9 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.521e-05/0.3747, allocations: 4.438 kB / 488.9 MB, free: 52 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.3748, allocations: 39 kB / 488.9 MB, free: 4 kB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 4.178e-06/0.3748, allocations: 0 / 488.9 MB, free: 4 kB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002664/0.3775, allocations: 0.8768 MB / 489.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.3776, allocations: 55.84 kB / 489.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.3794, allocations: 0.8125 MB / 490.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.3795, allocations: 37.7 kB / 490.7 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.3801, allocations: 0.5337 MB / 491.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.3804, allocations: 189.3 kB / 491.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3805, allocations: 8 kB / 491.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/0.3807, allocations: 386.8 kB / 491.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009194/0.3817, allocations: 300.9 kB / 492.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.3827, allocations: 398.5 kB / 492.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.3846, allocations: 0.6942 MB / 493.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3846, allocations: 0 / 493.2 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002422/0.3871, allocations: 0.8181 MB / 494 MB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.3871, allocations: 8 kB / 494 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.3872, allocations: 7.984 kB / 494 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.3872, allocations: 4 kB / 494 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3884, allocations: 152.1 kB / 494.2 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.3884, allocations: 4 kB / 494.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.3892, allocations: 63.41 kB / 494.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.3892, allocations: 20 kB / 494.3 MB, free: 10.54 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001311/0.3906, allocations: 473.1 kB / 494.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/0.3909, allocations: 71.16 kB / 494.8 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3912, allocations: 95.08 kB / 494.9 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3912, allocations: 11.98 kB / 494.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.3913, allocations: 0 / 494.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.3913, allocations: 0 / 494.9 MB, free: 9.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005542/0.3968, allocations: 1.926 MB / 496.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.3969, allocations: 3.938 kB / 496.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.398, allocations: 119.8 kB / 496.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.368e-05/0.398, allocations: 4 kB / 496.9 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.3981, allocations: 11.98 kB / 497 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.3981, allocations: 4.094 kB / 497 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3981, allocations: 4 kB / 497 MB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.401, allocations: 1.114 MB / 498.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.4014, allocations: 168.1 kB / 498.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.4015, allocations: 12 kB / 498.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007411/0.4023, allocations: 67.94 kB / 498.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.4025, allocations: 32.39 kB / 498.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.4025, allocations: 12 kB / 498.4 MB, free: 6.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.4039, allocations: 0.5732 MB / 498.9 MB, free: 5.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4039, allocations: 4 kB / 498.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001346/0.4053, allocations: 282.8 kB / 499.2 MB, free: 5.461 MB / 378.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 () * Number of clocked 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.0002241/0.4055, allocations: 123 kB / 499.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.4075, allocations: 0.6538 MB / 500 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4075, allocations: 0 / 500 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.4084, allocations: 322.2 kB / 0.4886 GB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.4102, allocations: 169.7 kB / 0.4887 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006381/0.4166, allocations: 2.731 MB / 0.4914 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.4182, allocations: 1.332 MB / 0.4927 GB, free: 64 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.2163/0.6345, allocations: 208.9 kB / 0.4929 GB, free: 102.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.6348, allocations: 55.25 kB / 0.493 GB, free: 102.6 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6349, allocations: 0 / 0.493 GB, free: 102.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02771/0.6626, allocations: 9.089 MB / 0.5018 GB, free: 102.3 MB / 378.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/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_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches