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.0007442/0.0007442, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00176, allocations: 449.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.001055/0.001055, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002397, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9062/0.9062, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08065/0.9868, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.323e-06/1.323e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.087e-05, allocations: 6.25 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006604/0.006615, allocations: 9.258 MB / 253.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.01076, allocations: 2.879 MB / 256.7 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.01123, allocations: 91.56 kB / 256.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.01469, allocations: 4.452 MB / 261.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.01585, allocations: 0.7799 MB / 262 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.01692, allocations: 0.9488 MB / 262.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002811/0.01973, allocations: 4.248 MB / 267.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005769/0.0255, allocations: 7.15 MB / 274.3 MB, free: 268 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1016/0.1271, allocations: 3.693 MB / 278 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.1306, allocations: 2.605 MB / 280.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.1323, allocations: 0.6634 MB / 281.3 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.1338, allocations: 0.9064 MB / 282.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007952/0.1346, allocations: 0.999 MB / 283.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.1362, allocations: 1.454 MB / 284.7 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.1396, allocations: 4.202 MB / 288.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.1396, allocations: 0 / 288.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1396, allocations: 0 / 288.9 MB, free: 5.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-05/0.1397, allocations: 0 / 288.9 MB, free: 5.43 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.006098/0.1458, allocations: 6.136 MB / 295 MB, free: 3.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1458, allocations: 8.125 kB / 295 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.1497, allocations: 1.742 MB / 296.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.1514, allocations: 1.352 MB / 298.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1515, allocations: 348.5 kB / 298.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.1519, allocations: 463 kB / 298.9 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.1559, allocations: 3.083 MB / 302 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/0.1559, allocations: 7.781 kB / 302 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.1562, allocations: 188 kB / 302.2 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001231/0.1563, allocations: 193.5 kB / 302.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.1582, allocations: 1.14 MB / 303.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.1723, allocations: 13.27 MB / 316.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.1748, allocations: 1.34 MB / 318.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.1752, allocations: 251.6 kB / 318.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.519e-05/0.1753, allocations: 48.97 kB / 318.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1753, allocations: 43.41 kB / 318.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.896e-06/0.1753, allocations: 0 / 318.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0007385/0.1761, allocations: 486.3 kB / 318.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.1761, allocations: 64.41 kB / 319 MB, free: 13.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.1769, allocations: 1.036 MB / 320 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.177, allocations: 37.7 kB / 320.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008877/0.1779, allocations: 1.949 MB / 322 MB, free: 10.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.1781, allocations: 359.7 kB / 322.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.1785, allocations: 438.1 kB / 322.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1786, allocations: 358.3 kB / 323.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.179, allocations: 299.5 kB / 323.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.1799, allocations: 1.332 MB / 324.8 MB, free: 7.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.1815, allocations: 1.821 MB / 326.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.1815, allocations: 12 kB / 326.6 MB, free: 5.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001716/0.1832, allocations: 1.394 MB / 328 MB, free: 4.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1833, allocations: 22.69 kB / 328 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.1833, allocations: 47.59 kB / 328 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.736e-05/0.1834, allocations: 56 kB / 328.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.1847, allocations: 0.5853 MB / 328.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.972e-05/0.1847, allocations: 81.78 kB / 328.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008725/0.1856, allocations: 270 kB / 329 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.1857, allocations: 99.98 kB / 329.1 MB, free: 3.051 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.0005244/0.1863, allocations: 283.7 kB / 329.4 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.1864, allocations: 103.9 kB / 329.5 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009063/0.1873, allocations: 0.6825 MB / 330.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003643/0.1877, allocations: 300.5 kB / 330.5 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1877, allocations: 4 kB / 330.5 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1877, allocations: 7.984 kB / 330.5 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/0.1928, allocations: 3.436 MB / 333.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/0.1928, allocations: 24.88 kB / 334 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.1933, allocations: 209.8 kB / 334.2 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.1936, allocations: 192.9 kB / 334.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/0.1936, allocations: 28 kB / 334.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/0.1936, allocations: 40 kB / 334.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.1936, allocations: 35.48 kB / 334.5 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.1937, allocations: 31.03 kB / 334.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1949, allocations: 1.401 MB / 335.9 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.195, allocations: 51.92 kB / 335.9 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.1955, allocations: 43.69 kB / 336 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.1956, allocations: 126.1 kB / 336.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.1956, allocations: 51.98 kB / 336.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004331/0.1961, allocations: 434.8 kB / 336.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1961, allocations: 0 / 336.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001817/0.1979, allocations: 0.953 MB / 337.5 MB, free: 10.57 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.0002711/0.1982, allocations: 185 kB / 337.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1992, allocations: 0.9456 MB / 338.7 MB, free: 9.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-05/0.1993, allocations: 39.84 kB / 338.7 MB, free: 9.586 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.1996, allocations: 285.3 kB / 339 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.2012, allocations: 0.4903 MB / 339.5 MB, free: 8.895 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02761/0.2288, allocations: 6.662 MB / 346.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/0.2296, allocations: 0.8207 MB / 346.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004694/0.23, allocations: 237.6 kB / 347.2 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.2305, allocations: 345.1 kB / 347.5 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.2305, allocations: 0 / 347.5 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of Templates: time 0.02598/0.2565, allocations: 19.31 MB / 366.8 MB, free: 13.6 MB / 346.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 -ignoreHideResult -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: 2.8787940740585327]