Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 75.44 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002683/0.002683, allocations: 150.7 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.878e-05, allocations: 3.469 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.009242/0.009271, allocations: 7.994 MB / 326.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006319/0.01559, allocations: 2.484 MB / 329.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.0167, allocations: 76.06 kB / 329.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009058/0.02576, allocations: 3.679 MB / 333.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.02907, allocations: 0.917 MB / 334.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.03115, allocations: 0.7743 MB / 334.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.03565, allocations: 3.768 MB / 338.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008612/0.04426, allocations: 6.152 MB / 344.8 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.04868, allocations: 3.175 MB / 347.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.05157, allocations: 2.054 MB / 350 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.05235, allocations: 0.5859 MB / 350.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.05386, allocations: 0.7925 MB / 351.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.05491, allocations: 1.122 MB / 352.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001893/0.0568, allocations: 1.52 MB / 354 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00812/0.06492, allocations: 7.978 MB / 362 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.06493, allocations: 0 / 362 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06493, allocations: 0 / 362 MB, free: 468 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.06503, allocations: 7.938 kB / 362 MB, free: 460 kB / 318.1 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.0114/0.07643, allocations: 4.822 MB / 366.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.07647, allocations: 8.031 kB / 366.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007745/0.08421, allocations: 1.29 MB / 368.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.08846, allocations: 2.309 MB / 370.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002746/0.08873, allocations: 312.8 kB / 370.7 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006747/0.08941, allocations: 415.9 kB / 371.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009866/0.09927, allocations: 5.494 MB / 376.6 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.348e-05/0.09936, allocations: 3.953 kB / 376.6 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004216/0.09978, allocations: 172 kB / 376.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.09997, allocations: 176.6 kB / 377 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008145/0.1081, allocations: 4.792 MB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02483/0.1329, allocations: 16.3 MB / 398.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.137, allocations: 1.745 MB / 399.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.1383, allocations: 0.7225 MB / 400.5 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.1385, allocations: 32.97 kB / 400.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1385, allocations: 43.56 kB / 400.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/0.1385, allocations: 0 / 400.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.00249/0.141, allocations: 1.565 MB / 402.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.141, allocations: 60.41 kB / 402.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.1429, allocations: 1.396 MB / 403.6 MB, free: 6.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.1429, allocations: 41.7 kB / 403.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.1442, allocations: 1.815 MB / 405.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.1445, allocations: 376.9 kB / 405.9 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006267/0.1452, allocations: 451.6 kB / 406.3 MB, free: 3.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1453, allocations: 341.9 kB / 406.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.1466, allocations: 0.8318 MB / 407.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.1486, allocations: 1.823 MB / 409.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.1521, allocations: 2.794 MB / 412.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.1521, allocations: 8 kB / 412.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004292/0.1564, allocations: 2.743 MB / 414.8 MB, free: 9.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.1564, allocations: 20 kB / 414.9 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.1565, allocations: 32 kB / 414.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.808e-05/0.1565, allocations: 48 kB / 414.9 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.1583, allocations: 0.5186 MB / 415.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-05/0.1583, allocations: 71.72 kB / 415.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.1596, allocations: 294.5 kB / 415.8 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.1598, allocations: 116 kB / 415.9 MB, free: 8.758 MB / 382.1 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.002278/0.1621, allocations: 1.477 MB / 417.4 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.1623, allocations: 135.1 kB / 417.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002486/0.1648, allocations: 1.461 MB / 419 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001598/0.1664, allocations: 1.041 MB / 420 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1664, allocations: 0 / 420 MB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.1664, allocations: 7.984 kB / 420 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.1814, allocations: 10.06 MB / 430.1 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/0.1814, allocations: 24 kB / 430.1 MB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.1823, allocations: 223.6 kB / 430.3 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/0.1823, allocations: 28 kB / 430.4 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.1824, allocations: 48 kB / 430.4 MB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.845e-05/0.1824, allocations: 51.72 kB / 430.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.649e-05/0.1824, allocations: 31.88 kB / 430.5 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003586/0.186, allocations: 2.629 MB / 433.1 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.1866, allocations: 258.9 kB / 433.4 MB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.1868, allocations: 55.88 kB / 433.4 MB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/0.1876, allocations: 67.94 kB / 433.5 MB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.1877, allocations: 147.3 kB / 433.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/0.1878, allocations: 59.98 kB / 433.7 MB, free: 6.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001289/0.1891, allocations: 0.8982 MB / 434.6 MB, free: 5.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1891, allocations: 0 / 434.6 MB, free: 5.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002529/0.1917, allocations: 0.891 MB / 435.5 MB, free: 4.492 MB / 398.1 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.0003585/0.192, allocations: 206.7 kB / 435.7 MB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.1948, allocations: 1.835 MB / 437.5 MB, free: 2.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.1948, allocations: 5.875 kB / 437.5 MB, free: 2.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.1957, allocations: 0.6172 MB / 438.2 MB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.1977, allocations: 342.1 kB / 438.5 MB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.2079, allocations: 6.418 MB / 444.9 MB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/0.2105, allocations: 2.263 MB / 447.2 MB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001722/0.2122, allocations: 0.7615 MB / 447.9 MB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.2125, allocations: 108.5 kB / 448 MB, free: 7.562 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2125, allocations: 0 / 448 MB, free: 7.562 MB / 414.1 MB Notification: Performance of Templates: time 0.03155/0.2441, allocations: 15.73 MB / 463.8 MB, free: 8.043 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.885194148868322]