Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001338/0.001338, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001407/0.001407, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9562/0.9562, allocations: 173.3 MB / 201.1 MB, free: 8.973 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.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.432e-06, allocations: 0 / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/4.116e-05, allocations: 2.312 kB / 268 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.0077/0.007741, allocations: 9.445 MB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.01203, allocations: 2.662 MB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000788/0.01282, allocations: 87.56 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00449/0.01731, allocations: 4.473 MB / 284.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.01923, allocations: 0.9588 MB / 285.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.0204, allocations: 0.813 MB / 286.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1156/0.136, allocations: 4.212 MB / 290.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009831/0.1458, allocations: 7.061 MB / 297.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/0.1507, allocations: 3.619 MB / 301.3 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003547/0.1543, allocations: 2.572 MB / 303.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.1557, allocations: 0.6654 MB / 304.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.1572, allocations: 0.869 MB / 305.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006542/0.1579, allocations: 1.283 MB / 306.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.1599, allocations: 1.727 MB / 308.4 MB, free: 9.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.1636, allocations: 4.405 MB / 312.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1636, allocations: 0 / 312.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1636, allocations: 0 / 312.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001825/0.1638, allocations: 0 / 312.9 MB, free: 7.984 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.007655/0.1714, allocations: 5.799 MB / 318.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1715, allocations: 12.84 kB / 318.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/0.1755, allocations: 1.844 MB / 320.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.1788, allocations: 2.445 MB / 323 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.179, allocations: 352.6 kB / 323.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/0.1797, allocations: 452.9 kB / 323.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006226/0.1859, allocations: 2.733 MB / 326.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/0.186, allocations: 15.89 kB / 326.5 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.1864, allocations: 186.3 kB / 326.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.1865, allocations: 197.2 kB / 326.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.1911, allocations: 1.637 MB / 328.5 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.2116, allocations: 17.2 MB / 345.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.2151, allocations: 1.972 MB / 347.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.2156, allocations: 325.5 kB / 348 MB, free: 6.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.2157, allocations: 32.98 kB / 348 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.2158, allocations: 49.95 kB / 348.1 MB, free: 6.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 4.157e-06/0.2158, allocations: 4 kB / 348.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.001322/0.2171, allocations: 0.7378 MB / 348.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.2172, allocations: 64.41 kB / 348.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.2193, allocations: 1.563 MB / 350.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.2193, allocations: 41.7 kB / 350.5 MB, free: 3.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.2205, allocations: 2.18 MB / 352.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/0.2208, allocations: 363.2 kB / 353 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/0.2214, allocations: 0.5408 MB / 353.6 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2216, allocations: 0.5355 MB / 354.1 MB, free: 208 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.2221, allocations: 272.2 kB / 354.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.2237, allocations: 1.977 MB / 356.3 MB, free: 13.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.2258, allocations: 2.47 MB / 358.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-05/0.2258, allocations: 12 kB / 358.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.002615/0.2284, allocations: 1.835 MB / 360.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2284, allocations: 28.94 kB / 360.7 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/0.2285, allocations: 40 kB / 360.7 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-05/0.2286, allocations: 60 kB / 360.8 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.2298, allocations: 0.5353 MB / 361.3 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.743e-05/0.2299, allocations: 78.16 kB / 361.4 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.2309, allocations: 301.9 kB / 361.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.231, allocations: 128 kB / 361.8 MB, free: 7.457 MB / 314.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.0007968/0.2318, allocations: 316.9 kB / 362.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.232, allocations: 178.8 kB / 362.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.2335, allocations: 0.8812 MB / 363.2 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006718/0.2342, allocations: 466.6 kB / 363.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2342, allocations: 0 / 363.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.2342, allocations: 3.984 kB / 363.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/0.2508, allocations: 4.92 MB / 368.6 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.2508, allocations: 16 kB / 368.6 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.2513, allocations: 220.3 kB / 368.8 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.413e-05/0.2513, allocations: 27.98 kB / 368.8 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.347e-05/0.2514, allocations: 40 kB / 368.9 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-05/0.2514, allocations: 38.92 kB / 368.9 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-05/0.2514, allocations: 26.94 kB / 368.9 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.2565, allocations: 1.79 MB / 370.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.2569, allocations: 234.7 kB / 370.9 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2571, allocations: 47.97 kB / 371 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.2576, allocations: 63.95 kB / 371 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.2577, allocations: 132.8 kB / 371.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.2578, allocations: 55.98 kB / 371.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.007867/0.2657, allocations: 0.6869 MB / 371.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.2657, allocations: 0 / 371.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002516/0.2682, allocations: 0.9608 MB / 372.9 MB, free: 11.82 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.003392/0.2716, allocations: 207 kB / 373.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.2734, allocations: 1.148 MB / 374.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.2734, allocations: 4 kB / 374.2 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.2738, allocations: 313.8 kB / 374.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/0.2785, allocations: 388.1 kB / 374.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/0.2966, allocations: 6.285 MB / 381.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.2977, allocations: 1.122 MB / 382.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.2988, allocations: 0.7116 MB / 383 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.299, allocations: 116.5 kB / 383.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.299, allocations: 0 / 383.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of Templates: time 0.02455/0.3235, allocations: 17.92 MB / 401.1 MB, free: 15.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1865330771543086]