Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001127/0.001127, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002779, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001178/0.001178, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001471/0.002649, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9354/0.9354, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1467/1.082, allocations: 49.48 MB / 220.5 MB, free: 1.465 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.175e-05, allocations: 6.109 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.007711/0.007733, allocations: 9.554 MB / 231.4 MB, free: 6.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.01266, allocations: 2.958 MB / 234.4 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.01331, allocations: 71.69 kB / 234.4 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.01721, allocations: 4.48 MB / 238.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.0189, allocations: 0.9043 MB / 239.8 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.02006, allocations: 0.95 MB / 240.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.02334, allocations: 4.5 MB / 245.3 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006721/0.03007, allocations: 7.189 MB / 252.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.03353, allocations: 3.826 MB / 256.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.03637, allocations: 2.741 MB / 259 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008473/0.03722, allocations: 0.6836 MB / 259.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.03858, allocations: 0.898 MB / 260.6 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007535/0.03934, allocations: 1.064 MB / 261.7 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.04075, allocations: 1.505 MB / 263.2 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.04454, allocations: 4.343 MB / 267.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.04455, allocations: 4 kB / 267.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.04455, allocations: 0 / 267.5 MB, free: 2.207 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.968e-05/0.04463, allocations: 0 / 267.5 MB, free: 2.207 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.007395/0.05203, allocations: 6.436 MB / 273.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.05206, allocations: 12.03 kB / 274 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006556/0.05862, allocations: 2.701 MB / 276.7 MB, free: 8.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.06045, allocations: 1.122 MB / 277.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.06063, allocations: 366.2 kB / 278.1 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.06111, allocations: 488.1 kB / 278.6 MB, free: 7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.06526, allocations: 3.236 MB / 281.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-05/0.06533, allocations: 7.984 kB / 281.9 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/0.06562, allocations: 196 kB / 282 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.06577, allocations: 226.1 kB / 282.3 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.06775, allocations: 1.359 MB / 283.6 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1386/0.2063, allocations: 13.95 MB / 297.6 MB, free: 30.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002901/0.2093, allocations: 2.059 MB / 299.6 MB, free: 30.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2096, allocations: 319 kB / 299.9 MB, free: 30 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002316/0.2119, allocations: 1.473 MB / 301.4 MB, free: 29.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2119, allocations: 33.98 kB / 301.5 MB, free: 29.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.2119, allocations: 0 / 301.5 MB, free: 29.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000266/0.2122, allocations: 163.1 kB / 301.6 MB, free: 29.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2122, allocations: 54.09 kB / 301.7 MB, free: 29.4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.2132, allocations: 1.471 MB / 303.1 MB, free: 29.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2132, allocations: 25.7 kB / 303.2 MB, free: 29.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006582/0.2139, allocations: 2.376 MB / 305.5 MB, free: 27.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.2139, allocations: 77.17 kB / 305.6 MB, free: 27.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.2143, allocations: 0.4966 MB / 306.1 MB, free: 27.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.2143, allocations: 359.4 kB / 306.5 MB, free: 27.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.2146, allocations: 311.1 kB / 306.8 MB, free: 27.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/0.2152, allocations: 1.623 MB / 308.4 MB, free: 25.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2164, allocations: 2.08 MB / 310.5 MB, free: 23.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.2164, allocations: 13 kB / 310.5 MB, free: 23.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00157/0.218, allocations: 1.608 MB / 312.1 MB, free: 23.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.218, allocations: 27.22 kB / 312.1 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/0.2181, allocations: 51.09 kB / 312.2 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-05/0.2181, allocations: 69.59 kB / 312.2 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.219, allocations: 0.6156 MB / 312.8 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/0.219, allocations: 99.72 kB / 312.9 MB, free: 23.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/0.22, allocations: 347.9 kB / 313.3 MB, free: 23.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.2201, allocations: 127.3 kB / 313.4 MB, free: 23.22 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.0005832/0.2207, allocations: 292.4 kB / 313.7 MB, free: 23.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2208, allocations: 79.02 kB / 313.8 MB, free: 23.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.221, allocations: 178.4 kB / 313.9 MB, free: 23.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.221, allocations: 45.52 kB / 314 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.221, allocations: 3.609 kB / 314 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.221, allocations: 0 / 314 MB, free: 22.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2224, allocations: 1.073 MB / 315.1 MB, free: 22.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2224, allocations: 0 / 315.1 MB, free: 22.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-05/0.2224, allocations: 18.34 kB / 315.1 MB, free: 22.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2226, allocations: 115 kB / 315.2 MB, free: 22.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2226, allocations: 1.438 kB / 315.2 MB, free: 22.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2226, allocations: 6.812 kB / 315.2 MB, free: 22.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2226, allocations: 0 / 315.2 MB, free: 22.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2226, allocations: 1.656 kB / 315.2 MB, free: 22.64 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.2228, allocations: 298.6 kB / 315.5 MB, free: 22.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.2229, allocations: 4.25 kB / 315.5 MB, free: 22.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2231, allocations: 12.78 kB / 315.5 MB, free: 22.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.2231, allocations: 7.078 kB / 315.5 MB, free: 22.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2231, allocations: 5.75 kB / 315.5 MB, free: 22.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004316/0.2235, allocations: 0.5967 MB / 316.1 MB, free: 22.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2235, allocations: 0 / 316.1 MB, free: 22.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001468/0.225, allocations: 0.9953 MB / 317.1 MB, free: 22.01 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0001813/0.2252, allocations: 121.2 kB / 317.2 MB, free: 21.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.2259, allocations: 0.8366 MB / 318.1 MB, free: 21.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.365e-05/0.2259, allocations: 47.94 kB / 318.1 MB, free: 21.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.226, allocations: 30.94 kB / 318.2 MB, free: 21.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.2267, allocations: 452.8 kB / 318.6 MB, free: 21.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.2482, allocations: 6.075 MB / 324.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006556/0.2489, allocations: 0.8205 MB / 325.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006705/0.2496, allocations: 242.4 kB / 325.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.25, allocations: 325.1 kB / 326 MB, free: 14.4 MB / 282.7 MB Notification: Performance of SimCode: time 2.374e-06/0.25, allocations: 4 kB / 326 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Templates: time 0.03282/0.2828, allocations: 18.86 MB / 344.9 MB, free: 11.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/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.187592500820756]