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.001328/0.001328, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001513/0.001513, allocations: 174.3 kB / 24.91 MB, free: 8.766 MB / 18.57 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.8638/0.8638, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.162e-06/1.162e-06, allocations: 0 / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.708e-06, allocations: 6.312 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006492/0.006501, allocations: 9.15 MB / 282.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.009492, allocations: 2.848 MB / 285.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.009885, allocations: 91.56 kB / 285.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003659/0.01354, allocations: 4.48 MB / 290 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09295/0.1065, allocations: 0.7983 MB / 290.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1081, allocations: 0.9478 MB / 291.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002931/0.1111, allocations: 4.224 MB / 296 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006366/0.1174, allocations: 7.297 MB / 303.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.1206, allocations: 3.651 MB / 306.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.1228, allocations: 2.626 MB / 309.6 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005764/0.1234, allocations: 0.661 MB / 310.2 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.1242, allocations: 0.8894 MB / 311.1 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004976/0.1247, allocations: 1.279 MB / 312.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008991/0.1256, allocations: 1.733 MB / 314.1 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.1277, allocations: 4.418 MB / 318.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1278, allocations: 0 / 318.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1278, allocations: 0.8125 kB / 318.5 MB, free: 1.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.1278, allocations: 0 / 318.5 MB, free: 1.27 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.005395/0.1332, allocations: 5.212 MB / 323.8 MB, free: 12.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.636e-05/0.1332, allocations: 15.41 kB / 323.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.1373, allocations: 1.734 MB / 325.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/0.139, allocations: 1.354 MB / 326.9 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.1391, allocations: 345.8 kB / 327.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.1395, allocations: 457.4 kB / 327.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.1427, allocations: 3.005 MB / 330.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.1428, allocations: 11.31 kB / 330.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.1431, allocations: 196 kB / 330.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.1432, allocations: 193.5 kB / 331 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.1448, allocations: 1.137 MB / 332.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.1559, allocations: 13.2 MB / 345.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.1577, allocations: 1.346 MB / 346.7 MB, free: 5.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.158, allocations: 263.9 kB / 347 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.1581, allocations: 44.97 kB / 347 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1581, allocations: 43.56 kB / 347.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.304e-06/0.1581, allocations: 0 / 347.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005675/0.1587, allocations: 484.5 kB / 347.5 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.1587, allocations: 64.41 kB / 347.6 MB, free: 4.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.1593, allocations: 1.035 MB / 348.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1594, allocations: 41.7 kB / 348.7 MB, free: 4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/0.1601, allocations: 1.945 MB / 350.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.1603, allocations: 354.2 kB / 351 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.1606, allocations: 449.3 kB / 351.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/0.1607, allocations: 352.1 kB / 351.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.161, allocations: 307.1 kB / 352 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.1617, allocations: 1.326 MB / 353.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.1628, allocations: 1.816 MB / 355.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.1628, allocations: 12 kB / 355.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001215/0.164, allocations: 1.399 MB / 356.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.164, allocations: 20 kB / 356.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.164, allocations: 43.94 kB / 356.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.48e-05/0.1641, allocations: 52 kB / 356.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/0.165, allocations: 0.5086 MB / 357.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.49e-05/0.1651, allocations: 82.95 kB / 357.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.1656, allocations: 270.2 kB / 357.6 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.1657, allocations: 108 kB / 357.7 MB, free: 10.59 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.0003783/0.1661, allocations: 277.5 kB / 357.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.1662, allocations: 99.91 kB / 358 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.167, allocations: 0.692 MB / 358.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002788/0.1673, allocations: 300.3 kB / 359 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1673, allocations: 0 / 359 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1673, allocations: 3.984 kB / 359 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.1712, allocations: 3.431 MB / 362.5 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.1712, allocations: 19.94 kB / 362.5 MB, free: 5.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.1716, allocations: 190.1 kB / 362.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.538e-05/0.1716, allocations: 31.94 kB / 362.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.1716, allocations: 43.98 kB / 362.7 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.627e-05/0.1717, allocations: 38.39 kB / 362.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.1717, allocations: 27.41 kB / 362.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/0.1726, allocations: 1.413 MB / 364.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.1729, allocations: 199 kB / 364.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.173, allocations: 43.98 kB / 364.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.1733, allocations: 36 kB / 364.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.1734, allocations: 132.7 kB / 364.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.1735, allocations: 44 kB / 364.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.1738, allocations: 436.5 kB / 365.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1738, allocations: 0 / 365.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001231/0.175, allocations: 0.9569 MB / 366 MB, free: 2.137 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.0002066/0.1752, allocations: 181.2 kB / 366.2 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007748/0.176, allocations: 0.9439 MB / 367.2 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.472e-05/0.176, allocations: 31.84 kB / 367.2 MB, free: 1.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1764, allocations: 284.9 kB / 367.5 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.1775, allocations: 397.5 kB / 367.9 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/0.1828, allocations: 6.063 MB / 373.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.1834, allocations: 0.7819 MB / 374.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.1839, allocations: 237.6 kB / 374.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.1843, allocations: 345.1 kB / 375.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1843, allocations: 0 / 375.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of Templates: time 0.02423/0.2086, allocations: 18.53 MB / 393.8 MB, free: 6.73 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 -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.746718728914857]