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.0008915/0.0008915, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009237/0.0009237, allocations: 144.5 kB / 24.89 MB, free: 8.238 MB / 18.57 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 0.9055/0.9055, allocations: 173.3 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] 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 1.142e-06/1.142e-06, allocations: 0 / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.542e-05, allocations: 6.25 kB / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.006994/0.007009, allocations: 8.587 MB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00407/0.01108, allocations: 2.665 MB / 279.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007108/0.01179, allocations: 79.62 kB / 279.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.01578, allocations: 3.994 MB / 283.8 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.01749, allocations: 0.9277 MB / 284.7 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01857, allocations: 0.7927 MB / 285.5 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00266/0.02123, allocations: 3.769 MB / 289.3 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1056/0.1268, allocations: 6.35 MB / 295.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005089/0.1319, allocations: 3.216 MB / 298.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.1351, allocations: 2.352 MB / 301.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.1363, allocations: 0.5863 MB / 301.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.1375, allocations: 0.7914 MB / 302.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005427/0.1381, allocations: 1.145 MB / 303.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.1394, allocations: 1.543 MB / 305.3 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.142, allocations: 3.954 MB / 309.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.142, allocations: 2.094 kB / 309.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.142, allocations: 0 / 309.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001064/0.1421, allocations: 3.938 kB / 309.2 MB, free: 10.6 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.005327/0.1474, allocations: 4.743 MB / 314 MB, free: 8.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1474, allocations: 10.72 kB / 314 MB, free: 8.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.1511, allocations: 1.687 MB / 315.7 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.1527, allocations: 1.189 MB / 316.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.1529, allocations: 316.2 kB / 317.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.1532, allocations: 410.6 kB / 317.6 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.156, allocations: 2.716 MB / 320.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-05/0.1561, allocations: 7.75 kB / 320.3 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.1563, allocations: 166.7 kB / 320.4 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/0.1564, allocations: 184.6 kB / 320.6 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1578, allocations: 1.049 MB / 321.7 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/0.1702, allocations: 11.92 MB / 333.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.1717, allocations: 1.15 MB / 334.7 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.1721, allocations: 326.3 kB / 335.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.211e-05/0.1722, allocations: 40.97 kB / 335.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1722, allocations: 47.56 kB / 335.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.266e-06/0.1722, allocations: 0 / 335.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.0007055/0.1729, allocations: 0.5017 MB / 335.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.173, allocations: 68.39 kB / 335.7 MB, free: 3.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/0.1736, allocations: 0.9381 MB / 336.7 MB, free: 2.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.1737, allocations: 41.7 kB / 336.7 MB, free: 2.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.1743, allocations: 1.742 MB / 338.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.1748, allocations: 375 kB / 338.8 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.1751, allocations: 418.1 kB / 339.2 MB, free: 208 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.1752, allocations: 349.4 kB / 339.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.1755, allocations: 291.2 kB / 339.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.1762, allocations: 1.186 MB / 341 MB, free: 13.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1773, allocations: 1.67 MB / 342.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.1773, allocations: 8 kB / 342.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.001239/0.1785, allocations: 1.323 MB / 344 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.1785, allocations: 19.94 kB / 344.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.1786, allocations: 36 kB / 344.1 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.322e-05/0.1786, allocations: 48 kB / 344.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.1794, allocations: 493.8 kB / 344.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-05/0.1795, allocations: 73.41 kB / 344.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006643/0.1801, allocations: 258.2 kB / 344.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.1802, allocations: 91.98 kB / 345 MB, free: 9.977 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.0006072/0.1808, allocations: 266.3 kB / 345.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.181, allocations: 99.91 kB / 345.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009928/0.182, allocations: 0.7275 MB / 346.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003057/0.1823, allocations: 324.5 kB / 346.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1823, allocations: 0 / 346.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1823, allocations: 7.922 kB / 346.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.187, allocations: 3.884 MB / 350.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.187, allocations: 20.19 kB / 350.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1874, allocations: 208.6 kB / 350.5 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.1874, allocations: 28 kB / 350.6 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.1875, allocations: 44 kB / 350.6 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-05/0.1875, allocations: 45.81 kB / 350.7 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.315e-05/0.1875, allocations: 30.75 kB / 350.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.1886, allocations: 1.544 MB / 352.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.1889, allocations: 181.7 kB / 352.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.189, allocations: 51.98 kB / 352.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1894, allocations: 40 kB / 352.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.1895, allocations: 146.6 kB / 352.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.1895, allocations: 47.98 kB / 352.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000608/0.1901, allocations: 391.6 kB / 353.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1901, allocations: 0 / 353.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001787/0.1919, allocations: 0.8871 MB / 354 MB, free: 1.031 MB / 298.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.000268/0.1922, allocations: 207.1 kB / 354.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1932, allocations: 0.9304 MB / 355.1 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.501e-05/0.1932, allocations: 27.84 kB / 355.1 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.1935, allocations: 306.3 kB / 355.4 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1945, allocations: 348.7 kB / 355.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.201, allocations: 5.65 MB / 361.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.2016, allocations: 0.7031 MB / 362.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005386/0.2021, allocations: 224.7 kB / 362.3 MB, free: 8.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.2026, allocations: 321.2 kB / 362.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.2026, allocations: 0 / 362.6 MB, free: 8.293 MB / 314.7 MB Notification: Performance of Templates: time 0.02547/0.2281, allocations: 17.29 MB / 379.9 MB, free: 7.32 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] 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","",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.9203840107657015]