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.001288/0.001288, allocations: 180 kB / 17.01 MB, free: 5.125 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.713/1.713, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008457/0.0008456, allocations: 96.08 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2785, allocations: 47.56 MB / 375.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3882, allocations: 81.04 MB / 456.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3885, allocations: 71.97 kB / 456.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04988/0.4384, allocations: 18.95 MB / 475.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4385, allocations: 4 kB / 475.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.61e-05/0.4386, allocations: 28 kB / 475.9 MB, free: 12.45 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.003262/0.4418, allocations: 1.469 MB / 477.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4419, allocations: 16.03 kB / 477.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.4422, allocations: 142.3 kB / 477.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.444, allocations: 0.9139 MB / 478.4 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.4441, allocations: 90.2 kB / 478.5 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.4443, allocations: 112 kB / 478.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.4468, allocations: 1.533 MB / 480.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.4468, allocations: 0 / 480.2 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.447, allocations: 51.94 kB / 480.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.447, allocations: 27.98 kB / 480.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/0.4494, allocations: 1.231 MB / 481.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008408/0.4578, allocations: 4.312 MB / 485.8 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.4597, allocations: 1.324 MB / 487.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.4598, allocations: 8.422 kB / 487.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.4598, allocations: 42.94 kB / 487.2 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.767e-06/0.4598, allocations: 4 kB / 487.2 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.002025/0.4619, allocations: 0.869 MB / 488 MB, free: 15.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.462, allocations: 63.84 kB / 488.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.4632, allocations: 0.7298 MB / 488.8 MB, free: 15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.4633, allocations: 37.7 kB / 488.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.4638, allocations: 0.5375 MB / 489.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.4639, allocations: 177.4 kB / 489.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.464, allocations: 12 kB / 489.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.4642, allocations: 386.7 kB / 490 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.4647, allocations: 304.9 kB / 490.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.4653, allocations: 398.5 kB / 490.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.4659, allocations: 362 kB / 491 MB, free: 12.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4659, allocations: 0 / 491 MB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00148/0.4674, allocations: 0.826 MB / 491.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.4674, allocations: 4 kB / 491.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4675, allocations: 4 kB / 491.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.4675, allocations: 4 kB / 491.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.4682, allocations: 151.8 kB / 492 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4682, allocations: 8.094 kB / 492 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.4687, allocations: 67.41 kB / 492.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.4688, allocations: 20 kB / 492.1 MB, free: 11.68 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.001007/0.4698, allocations: 465.3 kB / 492.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4699, allocations: 71.16 kB / 492.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.4702, allocations: 95.08 kB / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4702, allocations: 4 kB / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.4702, allocations: 4 kB / 492.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.4702, allocations: 3.984 kB / 492.7 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/0.4738, allocations: 1.911 MB / 494.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.4739, allocations: 8.094 kB / 494.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.4744, allocations: 123.8 kB / 494.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.4744, allocations: 3.938 kB / 494.7 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.4745, allocations: 8 kB / 494.8 MB, free: 8.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.4745, allocations: 4 kB / 494.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.4745, allocations: 4 kB / 494.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4762, allocations: 1.158 MB / 495.9 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.4765, allocations: 172.1 kB / 496.1 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.4766, allocations: 12 kB / 496.1 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.477, allocations: 55.98 kB / 496.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4772, allocations: 36.38 kB / 496.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.4772, allocations: 19.95 kB / 496.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008884/0.4781, allocations: 0.5732 MB / 496.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4781, allocations: 0 / 496.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000873/0.479, allocations: 286.8 kB / 497.1 MB, free: 6.539 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.0001977/0.4792, allocations: 117 kB / 497.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4803, allocations: 0.6538 MB / 497.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4803, allocations: 0 / 497.8 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004543/0.4808, allocations: 322.2 kB / 498.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.4815, allocations: 163.3 kB / 498.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/0.4858, allocations: 2.723 MB / 0.4893 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.4871, allocations: 1.36 MB / 0.4906 GB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007261/0.4878, allocations: 209.8 kB / 0.4908 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.488, allocations: 51.44 kB / 0.4909 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of SimCode: time 2.775e-06/0.488, allocations: 0 / 0.4909 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of Templates: time 0.2276/0.7156, allocations: 8.966 MB / 0.4996 GB, free: 102.1 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/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