Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 159.4 kB / 24.9 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9641/0.9641, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.777e-05, allocations: 9.266 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004873/0.00489, allocations: 3.769 MB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.006618, allocations: 1.055 MB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002042/0.006822, allocations: 27.81 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.007133, allocations: 154.8 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000694/0.007827, allocations: 310 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.008084, allocations: 135.7 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.009336, allocations: 1.462 MB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007456/0.01008, allocations: 0.6431 MB / 281 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009522/0.01103, allocations: 0.9473 MB / 281.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.01193, allocations: 0.7639 MB / 282.7 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.01212, allocations: 156 kB / 282.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.01236, allocations: 164 kB / 283 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.01272, allocations: 490.6 kB / 283.5 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.01321, allocations: 0.5222 MB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.0144, allocations: 1.238 MB / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.0144, allocations: 0 / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0144, allocations: 0 / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.01441, allocations: 0 / 285.2 MB, free: 5.133 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002009/0.01642, allocations: 1.512 MB / 286.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01646, allocations: 11.98 kB / 286.7 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004935/0.01696, allocations: 212.8 kB / 287 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.01787, allocations: 0.5474 MB / 287.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.01794, allocations: 82.59 kB / 287.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.01811, allocations: 112.4 kB / 287.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.01948, allocations: 0.9883 MB / 288.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.0195, allocations: 0 / 288.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.01961, allocations: 48 kB / 288.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.01967, allocations: 38.22 kB / 288.8 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.02031, allocations: 255.3 kB / 289 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/0.1387, allocations: 2.406 MB / 291.4 MB, free: 24.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.1391, allocations: 277.5 kB / 291.7 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.1393, allocations: 143.8 kB / 291.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1393, allocations: 9.938 kB / 291.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1393, allocations: 41.03 kB / 291.9 MB, free: 24.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/0.1393, allocations: 0 / 291.9 MB, free: 24.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001139/0.1405, allocations: 0.6975 MB / 292.6 MB, free: 24.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.1405, allocations: 57.84 kB / 292.6 MB, free: 24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.1409, allocations: 0.52 MB / 293.2 MB, free: 23.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1409, allocations: 32.42 kB / 293.2 MB, free: 23.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1411, allocations: 495.5 kB / 293.7 MB, free: 23.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.1412, allocations: 171.9 kB / 293.8 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.1413, allocations: 90.56 kB / 293.9 MB, free: 23.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.1413, allocations: 394.1 kB / 294.3 MB, free: 23.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.1414, allocations: 45.91 kB / 294.4 MB, free: 23.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1415, allocations: 149.9 kB / 294.5 MB, free: 23.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.1417, allocations: 243.9 kB / 294.7 MB, free: 22.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1417, allocations: 1.625 kB / 294.7 MB, free: 22.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003817/0.1421, allocations: 325.8 kB / 295.1 MB, free: 22.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1421, allocations: 10.23 kB / 295.1 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1421, allocations: 4.062 kB / 295.1 MB, free: 22.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.1423, allocations: 57.06 kB / 295.1 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.1426, allocations: 132.6 kB / 295.3 MB, free: 22.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008364/0.1435, allocations: 1.617 MB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1436, allocations: 18.52 kB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1436, allocations: 14 kB / 296.9 MB, free: 21.64 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.1438, allocations: 147.7 kB / 297.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.1439, allocations: 63.25 kB / 297.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.142e-05/0.1439, allocations: 78.47 kB / 297.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1439, allocations: 5.25 kB / 297.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.1439, allocations: 2 kB / 297.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1439, allocations: 3.922 kB / 297.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.145, allocations: 0.9612 MB / 298.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.145, allocations: 1.156 kB / 298.2 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.1453, allocations: 109 kB / 298.3 MB, free: 21.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.1454, allocations: 57.66 kB / 298.3 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1454, allocations: 12.75 kB / 298.3 MB, free: 21.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008441/0.1463, allocations: 1.702 MB / 300 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1463, allocations: 5.156 kB / 300 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.1468, allocations: 462.8 kB / 300.5 MB, free: 19.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1468, allocations: 64.89 kB / 300.6 MB, free: 19.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.1469, allocations: 24.34 kB / 300.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.147, allocations: 31.61 kB / 300.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.1471, allocations: 39.88 kB / 300.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1471, allocations: 12.08 kB / 300.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.1473, allocations: 251.5 kB / 300.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1473, allocations: 0 / 300.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004775/0.1478, allocations: 207.1 kB / 301.1 MB, free: 19.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.1479, allocations: 96.25 kB / 301.2 MB, free: 19.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004339/0.1484, allocations: 386.5 kB / 301.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.1484, allocations: 7.531 kB / 301.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.1486, allocations: 288.8 kB / 301.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1491, allocations: 168.7 kB / 302 MB, free: 19.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1513, allocations: 1.816 MB / 303.9 MB, free: 18.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1516, allocations: 305 kB / 304.2 MB, free: 18.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.1518, allocations: 80.47 kB / 304.2 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.1521, allocations: 206.4 kB / 304.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1521, allocations: 1.281 kB / 304.4 MB, free: 18.26 MB / 266.7 MB Notification: Performance of Templates: time 0.01205/0.1642, allocations: 10.92 MB / 315.4 MB, free: 10.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7301004859618843]