Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009045/0.0009045, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.868/0.868, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.889e-06/1.104e-05, allocations: 2.312 kB / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006253/0.006264, allocations: 8.598 MB / 282 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.009317, allocations: 2.735 MB / 284.8 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.009704, allocations: 75.69 kB / 284.9 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.01306, allocations: 3.998 MB / 288.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.01423, allocations: 0.7762 MB / 289.6 MB, free: 1.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.01522, allocations: 0.9264 MB / 290.6 MB, free: 132 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09479/0.11, allocations: 3.768 MB / 294.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005987/0.116, allocations: 6.35 MB / 300.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.1192, allocations: 3.219 MB / 303.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.1215, allocations: 2.349 MB / 306.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008147/0.1224, allocations: 0.5888 MB / 306.8 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008962/0.1232, allocations: 0.8114 MB / 307.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004898/0.1237, allocations: 1.147 MB / 308.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.1248, allocations: 1.541 MB / 310.3 MB, free: 7.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.1269, allocations: 3.979 MB / 314.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1269, allocations: 0.5312 kB / 314.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1269, allocations: 1.5 kB / 314.3 MB, free: 5.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.1269, allocations: 0 / 314.3 MB, free: 5.082 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.00444/0.1314, allocations: 4.752 MB / 319.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1314, allocations: 10.03 kB / 319.1 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/0.1354, allocations: 1.7 MB / 320.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.137, allocations: 1.196 MB / 322 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.1371, allocations: 309.6 kB / 322.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.1375, allocations: 415.3 kB / 322.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.1403, allocations: 2.723 MB / 325.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.074e-05/0.1403, allocations: 11.61 kB / 325.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.1406, allocations: 168 kB / 325.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.1407, allocations: 176.6 kB / 325.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1422, allocations: 1.065 MB / 326.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.1524, allocations: 11.94 MB / 338.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1538, allocations: 1.132 MB / 339.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.1542, allocations: 339 kB / 340.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/0.1543, allocations: 48.95 kB / 340.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1543, allocations: 47.56 kB / 340.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 3.366e-06/0.1543, allocations: 0 / 340.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.000612/0.1549, allocations: 0.5053 MB / 340.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.155, allocations: 60.41 kB / 340.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.1555, allocations: 0.9379 MB / 341.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.1556, allocations: 41.7 kB / 341.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.1561, allocations: 1.748 MB / 343.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.1564, allocations: 378.6 kB / 344 MB, free: 8.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.1567, allocations: 414.8 kB / 344.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.1568, allocations: 354.9 kB / 344.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.1571, allocations: 291.2 kB / 345 MB, free: 7.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.1578, allocations: 1.194 MB / 346.2 MB, free: 5.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.1588, allocations: 1.661 MB / 347.9 MB, free: 4.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.1588, allocations: 12 kB / 347.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00119/0.16, allocations: 1.308 MB / 349.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.16, allocations: 27.92 kB / 349.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.16, allocations: 36.91 kB / 349.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/0.1601, allocations: 48 kB / 349.3 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.1609, allocations: 498.8 kB / 349.8 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.1609, allocations: 69.84 kB / 349.8 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.1615, allocations: 254.1 kB / 350.1 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.1615, allocations: 99.98 kB / 350.2 MB, free: 1.957 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003635/0.1619, allocations: 267.1 kB / 350.4 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.162, allocations: 107.9 kB / 350.6 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.1629, allocations: 0.7185 MB / 351.3 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003067/0.1632, allocations: 324.5 kB / 351.6 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1632, allocations: 8 kB / 351.6 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1632, allocations: 3.984 kB / 351.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/0.1675, allocations: 3.97 MB / 355.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.1675, allocations: 20 kB / 355.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.1679, allocations: 206.5 kB / 355.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.1679, allocations: 31.98 kB / 355.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/0.168, allocations: 44 kB / 355.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.168, allocations: 39.28 kB / 355.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/0.168, allocations: 35.16 kB / 355.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.169, allocations: 1.55 MB / 357.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.1692, allocations: 185.7 kB / 357.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.276e-05/0.1693, allocations: 47.98 kB / 357.7 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.1696, allocations: 43.98 kB / 357.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.1697, allocations: 146.4 kB / 357.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.554e-05/0.1698, allocations: 51.92 kB / 358 MB, free: 10.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004111/0.1702, allocations: 390 kB / 358.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1702, allocations: 0 / 358.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001184/0.1714, allocations: 0.891 MB / 359.2 MB, free: 8.926 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.1716, allocations: 184.6 kB / 359.4 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007864/0.1724, allocations: 0.9314 MB / 360.3 MB, free: 7.988 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.441e-05/0.1724, allocations: 27.84 kB / 360.4 MB, free: 7.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1727, allocations: 303.1 kB / 360.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1737, allocations: 353.5 kB / 361 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.1789, allocations: 5.609 MB / 366.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.1794, allocations: 0.7109 MB / 367.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.1799, allocations: 224.7 kB / 367.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.1803, allocations: 332 kB / 367.9 MB, free: 236 kB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1803, allocations: 0 / 367.9 MB, free: 236 kB / 314.7 MB Notification: Performance of Templates: time 0.02262/0.2029, allocations: 17.35 MB / 385.2 MB, free: 15.21 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.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.718300940003246]