Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001371/0.001371, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001507/0.001507, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9781/0.9781, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.223e-05, allocations: 2.312 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.008269/0.008291, allocations: 9.41 MB / 282.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.013, allocations: 2.705 MB / 285.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.01412, allocations: 95.56 kB / 285.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004363/0.01849, allocations: 4.457 MB / 289.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.02099, allocations: 0.7993 MB / 290.5 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1104/0.1314, allocations: 0.943 MB / 291.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004641/0.136, allocations: 4.223 MB / 295.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01078/0.1468, allocations: 7.062 MB / 302.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/0.1525, allocations: 3.623 MB / 306.4 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00359/0.1561, allocations: 2.545 MB / 308.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.1575, allocations: 0.6654 MB / 309.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.1592, allocations: 0.8886 MB / 310.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008053/0.16, allocations: 1.288 MB / 311.8 MB, free: 6.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002291/0.1623, allocations: 1.727 MB / 313.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.1724, allocations: 4.42 MB / 317.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1724, allocations: 0.7188 kB / 317.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1724, allocations: 0 / 317.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001088/0.1725, allocations: 5.062 kB / 317.9 MB, free: 2.074 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01917/0.1916, allocations: 5.801 MB / 323.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1917, allocations: 16.02 kB / 323.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007367/0.199, allocations: 1.843 MB / 325.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/0.203, allocations: 2.446 MB / 328 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.2032, allocations: 353.1 kB / 328.4 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005887/0.2038, allocations: 459.8 kB / 328.8 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.2099, allocations: 2.75 MB / 331.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.413e-05/0.21, allocations: 7.938 kB / 331.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003779/0.2104, allocations: 185.5 kB / 331.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/0.2106, allocations: 197.5 kB / 331.9 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.2151, allocations: 1.641 MB / 333.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.2352, allocations: 17.21 MB / 350.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.238, allocations: 1.967 MB / 352.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.2384, allocations: 333.5 kB / 353.1 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.2386, allocations: 44.95 kB / 353.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2386, allocations: 49.77 kB / 353.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 3.276e-06/0.2386, allocations: 0 / 353.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.001131/0.2397, allocations: 0.7495 MB / 353.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2398, allocations: 60.41 kB / 354 MB, free: 13.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.2413, allocations: 1.56 MB / 355.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2413, allocations: 41.69 kB / 355.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.2425, allocations: 2.185 MB / 357.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.2427, allocations: 366.8 kB / 358.1 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/0.2432, allocations: 0.5447 MB / 358.7 MB, free: 9.199 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2434, allocations: 0.5394 MB / 359.2 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/0.2438, allocations: 275.9 kB / 359.5 MB, free: 8.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.2451, allocations: 1.984 MB / 361.5 MB, free: 5.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.2471, allocations: 2.473 MB / 363.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.2471, allocations: 8 kB / 364 MB, free: 2.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002208/0.2493, allocations: 1.844 MB / 365.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.2493, allocations: 27.94 kB / 365.8 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.2494, allocations: 40 kB / 365.9 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.393e-05/0.2494, allocations: 55.98 kB / 365.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.2504, allocations: 0.534 MB / 366.5 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.013e-05/0.2504, allocations: 78.41 kB / 366.5 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008242/0.2512, allocations: 298.4 kB / 366.8 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.2514, allocations: 131.9 kB / 367 MB, free: 15.89 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.0007954/0.2522, allocations: 314.9 kB / 367.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2523, allocations: 167.1 kB / 367.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.2534, allocations: 0.8923 MB / 368.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005661/0.254, allocations: 474.5 kB / 368.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.254, allocations: 3.984 kB / 368.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.254, allocations: 3.984 kB / 368.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006772/0.2608, allocations: 5.02 MB / 373.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.2608, allocations: 20 kB / 373.8 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.2612, allocations: 214.1 kB / 374 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/0.2612, allocations: 24 kB / 374.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.2613, allocations: 47.98 kB / 374.1 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.2613, allocations: 39.23 kB / 374.1 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/0.2613, allocations: 31.41 kB / 374.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.2629, allocations: 1.799 MB / 376 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.2632, allocations: 234.8 kB / 376.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.2633, allocations: 43.98 kB / 376.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.2637, allocations: 63.94 kB / 376.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2638, allocations: 130.4 kB / 376.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/0.2639, allocations: 55.98 kB / 376.5 MB, free: 5.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008262/0.2647, allocations: 0.683 MB / 377.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2647, allocations: 0 / 377.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002064/0.2668, allocations: 0.9608 MB / 378.1 MB, free: 4.133 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.0003241/0.2671, allocations: 209.4 kB / 378.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.2686, allocations: 1.157 MB / 379.5 MB, free: 2.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.2686, allocations: 4 kB / 379.5 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.2689, allocations: 313.5 kB / 379.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.2702, allocations: 393.6 kB / 380.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/0.2788, allocations: 6.239 MB / 386.4 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009574/0.2797, allocations: 1.126 MB / 387.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.2809, allocations: 0.7116 MB / 388.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.2811, allocations: 120.5 kB / 388.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2811, allocations: 0 / 388.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of Templates: time 0.02431/0.3054, allocations: 16.82 MB / 405.2 MB, free: 9.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.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: 3.216084792977199]