Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007257/0.0007257, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009745/0.0017, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006993/0.0006993, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008895/0.001589, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9342/0.9342, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0813/1.016, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.707e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.007251/0.007268, allocations: 9.252 MB / 254.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004659/0.01193, allocations: 2.879 MB / 257.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.01314, allocations: 87.56 kB / 257.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005458/0.0186, allocations: 4.468 MB / 261.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.02071, allocations: 0.776 MB / 262.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.02228, allocations: 0.9494 MB / 263.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.02599, allocations: 4.248 MB / 267.7 MB, free: 6.871 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1235/0.1494, allocations: 7.147 MB / 274.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004835/0.1543, allocations: 3.696 MB / 278.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003433/0.1577, allocations: 2.602 MB / 281.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001645/0.1594, allocations: 0.6634 MB / 281.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.1613, allocations: 0.9052 MB / 282.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009911/0.1623, allocations: 1.005 MB / 283.7 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002247/0.1645, allocations: 1.449 MB / 285.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004093/0.1686, allocations: 4.203 MB / 289.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/0.1686, allocations: 0 / 289.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1686, allocations: 3.75 kB / 289.3 MB, free: 4.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.569e-05/0.1687, allocations: 0 / 289.3 MB, free: 4.016 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.006335/0.1751, allocations: 6.126 MB / 295.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.33e-05/0.1751, allocations: 12.78 kB / 295.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003746/0.1788, allocations: 1.746 MB / 297.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.181, allocations: 1.351 MB / 298.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.1812, allocations: 344.6 kB / 298.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/0.182, allocations: 458.6 kB / 299.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004668/0.1867, allocations: 3.003 MB / 302.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.632e-05/0.1868, allocations: 7.953 kB / 302.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/0.1871, allocations: 188 kB / 302.6 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.1873, allocations: 193.5 kB / 302.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.1896, allocations: 1.15 MB / 303.9 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01584/0.2054, allocations: 13.28 MB / 317.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.2078, allocations: 1.344 MB / 318.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.2081, allocations: 257.3 kB / 318.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.2082, allocations: 40.97 kB / 318.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2083, allocations: 49.94 kB / 318.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.905e-06/0.2083, allocations: 0 / 318.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0007968/0.2091, allocations: 490.4 kB / 319.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.2091, allocations: 60.41 kB / 319.4 MB, free: 11.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.21, allocations: 1.031 MB / 320.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.2101, allocations: 41.7 kB / 320.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2113, allocations: 1.945 MB / 322.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.2115, allocations: 367.9 kB / 322.8 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/0.212, allocations: 434.8 kB / 323.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2121, allocations: 358.5 kB / 323.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.2125, allocations: 299.5 kB / 323.8 MB, free: 7.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.2133, allocations: 1.325 MB / 325.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2149, allocations: 1.819 MB / 327 MB, free: 3.465 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.2149, allocations: 12 kB / 327 MB, free: 3.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001733/0.2166, allocations: 1.395 MB / 328.4 MB, free: 2.301 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.2166, allocations: 27.31 kB / 328.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/0.2167, allocations: 40 kB / 328.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.551e-05/0.2167, allocations: 56 kB / 328.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2182, allocations: 0.5794 MB / 329.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-05/0.2182, allocations: 75.72 kB / 329.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.2192, allocations: 278 kB / 329.4 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.2193, allocations: 108 kB / 329.5 MB, free: 1.203 MB / 298.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.0008921/0.2202, allocations: 278 kB / 329.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.2203, allocations: 99.91 kB / 329.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008998/0.2212, allocations: 0.6849 MB / 330.6 MB, free: 208 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003744/0.2216, allocations: 300.1 kB / 330.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2216, allocations: 7.922 kB / 330.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2216, allocations: 3.984 kB / 330.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005459/0.2271, allocations: 3.438 MB / 334.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.2271, allocations: 24.25 kB / 334.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/0.2276, allocations: 214.1 kB / 334.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.2279, allocations: 184.7 kB / 334.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/0.2279, allocations: 24 kB / 334.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.946e-05/0.228, allocations: 47.98 kB / 334.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/0.228, allocations: 39.14 kB / 334.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-05/0.228, allocations: 34.31 kB / 334.9 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.2294, allocations: 1.405 MB / 336.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.2295, allocations: 47.92 kB / 336.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.23, allocations: 36 kB / 336.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.2301, allocations: 137.9 kB / 336.5 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.2302, allocations: 43.98 kB / 336.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004713/0.2307, allocations: 439.9 kB / 337 MB, free: 9.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2307, allocations: 0 / 337 MB, free: 9.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0028/0.2335, allocations: 0.9453 MB / 337.9 MB, free: 8.73 MB / 314.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.0003172/0.2338, allocations: 187.9 kB / 338.1 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.235, allocations: 0.945 MB / 339.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.537e-05/0.2351, allocations: 40.84 kB / 339.1 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.2354, allocations: 279 kB / 339.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.237, allocations: 0.4964 MB / 339.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/0.2604, allocations: 6.652 MB / 346.5 MB, free: 176 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.2612, allocations: 0.8285 MB / 347.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006425/0.2618, allocations: 233.6 kB / 347.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.2623, allocations: 345.1 kB / 347.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2623, allocations: 0 / 347.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Templates: time 0.02872/0.291, allocations: 19.3 MB / 367.2 MB, free: 11.77 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.86296194139868]