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.001821/0.001821, allocations: 81.17 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001477/0.001477, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.416/1.416, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 2.104e-06/2.104e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.416e-05, allocations: 3.344 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01033/0.01035, allocations: 8.028 MB / 333.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.01578, allocations: 2.541 MB / 335.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.01705, allocations: 80.06 kB / 335.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008578/0.02562, allocations: 3.674 MB / 339.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.0283, allocations: 0.7767 MB / 340.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.03055, allocations: 0.8966 MB / 341.1 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.03498, allocations: 3.784 MB / 344.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007968/0.04295, allocations: 6.148 MB / 351 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.04674, allocations: 3.179 MB / 354.2 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.04949, allocations: 2.054 MB / 356.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007785/0.05027, allocations: 0.582 MB / 356.8 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.05173, allocations: 0.8081 MB / 357.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.0528, allocations: 1.13 MB / 358.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.05471, allocations: 1.524 MB / 360.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009841/0.06455, allocations: 8.002 MB / 368.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.06456, allocations: 0 / 368.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.06456, allocations: 0 / 368.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.06476, allocations: 3.938 kB / 368.3 MB, free: 9.797 MB / 334.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.01371/0.07846, allocations: 4.818 MB / 373.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.07852, allocations: 12.03 kB / 373.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008863/0.08738, allocations: 1.286 MB / 374.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.09175, allocations: 2.305 MB / 376.7 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.09202, allocations: 312.8 kB / 377 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006974/0.09272, allocations: 415.9 kB / 377.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009735/0.1025, allocations: 5.506 MB / 382.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.1025, allocations: 0 / 382.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.103, allocations: 176 kB / 383.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001975/0.1032, allocations: 176.6 kB / 383.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008487/0.1116, allocations: 4.796 MB / 388.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02515/0.1368, allocations: 16.33 MB / 404.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.141, allocations: 1.745 MB / 406.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.1424, allocations: 0.7187 MB / 406.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.1426, allocations: 44.97 kB / 406.9 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.1427, allocations: 47.55 kB / 406.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.877e-06/0.1427, allocations: 0 / 406.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.003028/0.1457, allocations: 1.565 MB / 408.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.1458, allocations: 64.41 kB / 408.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.1482, allocations: 1.396 MB / 410 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.1483, allocations: 45.7 kB / 410 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.1499, allocations: 1.815 MB / 411.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004367/0.1504, allocations: 372.9 kB / 412.2 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007365/0.1511, allocations: 455.7 kB / 412.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1513, allocations: 345.9 kB / 413 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1526, allocations: 0.8318 MB / 413.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.1548, allocations: 1.827 MB / 415.6 MB, free: 9.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/0.1583, allocations: 2.794 MB / 418.4 MB, free: 5.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.1583, allocations: 11.94 kB / 418.4 MB, free: 5.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004302/0.1626, allocations: 2.751 MB / 421.2 MB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.1626, allocations: 20 kB / 421.2 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/0.1627, allocations: 36 kB / 421.2 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.155e-05/0.1627, allocations: 44 kB / 421.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.1646, allocations: 0.5264 MB / 421.8 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-05/0.1646, allocations: 68.25 kB / 421.9 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.1659, allocations: 298 kB / 422.2 MB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.1661, allocations: 116 kB / 422.3 MB, free: 2.012 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.002358/0.1684, allocations: 1.477 MB / 423.8 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.1686, allocations: 131.1 kB / 423.9 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.1711, allocations: 1.473 MB / 425.4 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001622/0.1727, allocations: 1.037 MB / 426.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1727, allocations: 0 / 426.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.1728, allocations: 3.984 kB / 426.4 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.1882, allocations: 10.18 MB / 436.6 MB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/0.1882, allocations: 24 kB / 436.6 MB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000875/0.1891, allocations: 231.6 kB / 436.8 MB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.937e-05/0.1892, allocations: 32.06 kB / 436.9 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.1892, allocations: 44 kB / 436.9 MB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-05/0.1893, allocations: 51.72 kB / 437 MB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-05/0.1893, allocations: 31.88 kB / 437 MB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.1929, allocations: 2.626 MB / 439.6 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/0.1934, allocations: 266.9 kB / 439.9 MB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.1936, allocations: 55.86 kB / 439.9 MB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007769/0.1944, allocations: 67.94 kB / 440 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.1946, allocations: 147.3 kB / 440.1 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/0.1947, allocations: 63.98 kB / 440.2 MB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001275/0.196, allocations: 0.8982 MB / 441.1 MB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.196, allocations: 3.938 kB / 441.1 MB, free: 14.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002529/0.1985, allocations: 0.8793 MB / 442 MB, free: 13.6 MB / 414.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.0003747/0.1989, allocations: 206.7 kB / 442.2 MB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002859/0.2017, allocations: 1.837 MB / 444 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.2017, allocations: 4.062 kB / 444 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/0.2027, allocations: 0.6169 MB / 444.6 MB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.2047, allocations: 351.2 kB / 445 MB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.2153, allocations: 6.382 MB / 451.4 MB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.218, allocations: 2.255 MB / 453.6 MB, free: 1.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001826/0.2198, allocations: 0.7576 MB / 454.4 MB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.2201, allocations: 124.5 kB / 454.5 MB, free: 0.6953 MB / 414.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2201, allocations: 0 / 454.5 MB, free: 0.6953 MB / 414.1 MB Notification: Performance of Templates: time 0.03328/0.2534, allocations: 15.8 MB / 470.3 MB, free: 1.109 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.961650233715773]