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.001428/0.001428, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001884/0.003312, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001068/0.001068, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001529/0.002597, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9151/0.9151, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08466/0.9998, allocations: 52.49 MB / 238.3 MB, free: 4.426 MB / 234.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 1.473e-06/1.473e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.85e-05, allocations: 2.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01938/0.0194, allocations: 9.236 MB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005586/0.02498, allocations: 2.821 MB / 251.6 MB, free: 7.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.02615, allocations: 91.56 kB / 251.7 MB, free: 6.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005332/0.03148, allocations: 4.456 MB / 256.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.0336, allocations: 0.9353 MB / 257.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.03495, allocations: 0.8168 MB / 257.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003575/0.03853, allocations: 4.252 MB / 262.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01185/0.05038, allocations: 7.149 MB / 269.3 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.05579, allocations: 3.69 MB / 273 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1179/0.1737, allocations: 2.596 MB / 275.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.1754, allocations: 0.6662 MB / 276.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.1775, allocations: 0.8772 MB / 277.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.1788, allocations: 1.004 MB / 278.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.1816, allocations: 1.448 MB / 279.6 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.1862, allocations: 4.182 MB / 283.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.028e-05/0.1863, allocations: 0 / 283.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1863, allocations: 0.6562 kB / 283.8 MB, free: 8.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002065/0.1865, allocations: 0 / 283.8 MB, free: 8.965 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.01107/0.1975, allocations: 6.129 MB / 289.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1976, allocations: 11.53 kB / 289.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.2031, allocations: 1.727 MB / 291.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.2057, allocations: 1.349 MB / 293 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.2059, allocations: 346.7 kB / 293.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.2065, allocations: 460.5 kB / 293.8 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/0.2102, allocations: 2.994 MB / 296.8 MB, free: 5.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.42e-05/0.2103, allocations: 9.844 kB / 296.8 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.2106, allocations: 195.8 kB / 297 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.2107, allocations: 193.8 kB / 297.2 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.2121, allocations: 1.141 MB / 298.3 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.2256, allocations: 13.25 MB / 311.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2274, allocations: 1.334 MB / 312.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.2277, allocations: 252.3 kB / 313.1 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.275e-05/0.2278, allocations: 43.38 kB / 313.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2278, allocations: 47.56 kB / 313.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=94): time 2.996e-06/0.2278, allocations: 0 / 313.2 MB, free: 6.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.0006415/0.2285, allocations: 485.4 kB / 313.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.2285, allocations: 64.41 kB / 313.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000758/0.2293, allocations: 1.035 MB / 314.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.2293, allocations: 41.7 kB / 314.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.2303, allocations: 1.937 MB / 316.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.2305, allocations: 367 kB / 317.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.2308, allocations: 438.4 kB / 317.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.2309, allocations: 354.3 kB / 317.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2312, allocations: 307.4 kB / 318.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.2319, allocations: 1.322 MB / 319.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2332, allocations: 1.815 MB / 321.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.2332, allocations: 12 kB / 321.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001637/0.2348, allocations: 1.387 MB / 322.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.2348, allocations: 27.94 kB / 322.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/0.2349, allocations: 40 kB / 322.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.2349, allocations: 52 kB / 322.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.2359, allocations: 0.576 MB / 323.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.2359, allocations: 82.06 kB / 323.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007253/0.2366, allocations: 274.2 kB / 323.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.35e-05/0.2367, allocations: 104 kB / 323.9 MB, free: 11.55 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.0008146/0.2375, allocations: 275.9 kB / 324.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.2377, allocations: 103.9 kB / 324.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.2384, allocations: 0.6904 MB / 324.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002703/0.2386, allocations: 300.4 kB / 325.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2386, allocations: 4 kB / 325.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2386, allocations: 7.984 kB / 325.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.2432, allocations: 3.364 MB / 328.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.2432, allocations: 24 kB / 328.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.2436, allocations: 206.5 kB / 328.8 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003261/0.2439, allocations: 186.2 kB / 329 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/0.2439, allocations: 24 kB / 329 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.244, allocations: 47.98 kB / 329.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.244, allocations: 35.48 kB / 329.1 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.244, allocations: 35.48 kB / 329.2 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2453, allocations: 1.424 MB / 330.6 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.2454, allocations: 51.91 kB / 330.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.2457, allocations: 36 kB / 330.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.2458, allocations: 130.6 kB / 330.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.2459, allocations: 51.98 kB / 330.8 MB, free: 4.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005566/0.2464, allocations: 431.7 kB / 331.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2464, allocations: 0 / 331.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002477/0.2489, allocations: 0.9531 MB / 332.2 MB, free: 3.141 MB / 298.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.0002862/0.2492, allocations: 197.3 kB / 332.4 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2502, allocations: 0.9375 MB / 333.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.332e-05/0.2503, allocations: 41.78 kB / 333.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.2506, allocations: 275 kB / 333.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.2518, allocations: 0.4922 MB / 334.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/0.2745, allocations: 6.7 MB / 340.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.2754, allocations: 0.8177 MB / 341.7 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007088/0.2761, allocations: 233.7 kB / 341.9 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.2766, allocations: 345.1 kB / 342.2 MB, free: 9.145 MB / 314.7 MB Notification: Performance of SimCode: time 1.743e-06/0.2766, allocations: 4 kB / 342.2 MB, free: 9.141 MB / 314.7 MB Notification: Performance of Templates: time 0.03124/0.3079, allocations: 19.24 MB / 361.5 MB, free: 6.219 MB / 330.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 -ignoreHideResult -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.0585838593542576]