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.0008764/0.0008764, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001013/0.001013, allocations: 170 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9673/0.9673, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.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.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.728e-06/1.11e-05, allocations: 2.312 kB / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006655/0.006666, allocations: 9.2 MB / 282.6 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.0103, allocations: 2.852 MB / 285.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/0.01078, allocations: 91.56 kB / 285.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.01429, allocations: 4.441 MB / 290 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1049/0.1192, allocations: 0.7848 MB / 290.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.1209, allocations: 0.9344 MB / 291.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003211/0.1241, allocations: 4.227 MB / 296 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00733/0.1315, allocations: 7.27 MB / 303.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.1354, allocations: 3.652 MB / 306.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.1383, allocations: 2.622 MB / 309.5 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005739/0.1389, allocations: 0.6638 MB / 310.2 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1399, allocations: 0.9059 MB / 311.1 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004978/0.1404, allocations: 1.278 MB / 312.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000969/0.1414, allocations: 1.734 MB / 314.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.1439, allocations: 4.421 MB / 318.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1439, allocations: 0 / 318.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1439, allocations: 0 / 318.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.028e-05/0.1439, allocations: 0.8125 kB / 318.5 MB, free: 0.9492 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.005788/0.1497, allocations: 5.22 MB / 323.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1498, allocations: 11.98 kB / 323.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.1543, allocations: 1.74 MB / 325.5 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1562, allocations: 1.36 MB / 326.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.1563, allocations: 349.6 kB / 327.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.1568, allocations: 454.2 kB / 327.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/0.1602, allocations: 3.004 MB / 330.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.1602, allocations: 3.938 kB / 330.6 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.1605, allocations: 191.1 kB / 330.8 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001492/0.1606, allocations: 195.6 kB / 331 MB, free: 4.809 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.1624, allocations: 1.145 MB / 332.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1738, allocations: 13.19 MB / 345.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1755, allocations: 1.343 MB / 346.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.1758, allocations: 259.8 kB / 346.9 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.1759, allocations: 44.95 kB / 347 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1759, allocations: 47.31 kB / 347 MB, free: 5.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.635e-06/0.1759, allocations: 0 / 347 MB, free: 5.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005833/0.1765, allocations: 482.3 kB / 347.5 MB, free: 4.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.1765, allocations: 64.41 kB / 347.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006172/0.1771, allocations: 1.043 MB / 348.6 MB, free: 3.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.1772, allocations: 41.7 kB / 348.7 MB, free: 3.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.1778, allocations: 1.943 MB / 350.6 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.178, allocations: 358.8 kB / 350.9 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.1783, allocations: 447.9 kB / 351.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1784, allocations: 351.6 kB / 351.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.1787, allocations: 303.4 kB / 352 MB, free: 400 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.1794, allocations: 1.329 MB / 353.4 MB, free: 14.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1805, allocations: 1.812 MB / 355.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.1805, allocations: 12 kB / 355.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001242/0.1817, allocations: 1.398 MB / 356.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1818, allocations: 20.94 kB / 356.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.1818, allocations: 47.31 kB / 356.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.1818, allocations: 52 kB / 356.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000868/0.1827, allocations: 0.5448 MB / 357.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.719e-05/0.1827, allocations: 74.59 kB / 357.3 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.1833, allocations: 274 kB / 357.6 MB, free: 10.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.1834, allocations: 107.8 kB / 357.7 MB, free: 10.23 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.0004185/0.1838, allocations: 275.9 kB / 358 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.1839, allocations: 103.6 kB / 358.1 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006817/0.1846, allocations: 0.6818 MB / 358.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002748/0.1849, allocations: 300.5 kB / 359 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.1849, allocations: 4 kB / 359 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1849, allocations: 3.984 kB / 359 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/0.1887, allocations: 3.425 MB / 362.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.1887, allocations: 23.94 kB / 362.5 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.1891, allocations: 199.3 kB / 362.7 MB, free: 5.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.1891, allocations: 27.66 kB / 362.7 MB, free: 5.328 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.1891, allocations: 44 kB / 362.7 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/0.1891, allocations: 35.02 kB / 362.8 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.1891, allocations: 35.2 kB / 362.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.1901, allocations: 1.408 MB / 364.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.1903, allocations: 187.5 kB / 364.4 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.1904, allocations: 51.94 kB / 364.5 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1907, allocations: 44.02 kB / 364.5 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.1908, allocations: 133.7 kB / 364.6 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.1908, allocations: 51.97 kB / 364.7 MB, free: 3.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003057/0.1911, allocations: 435.3 kB / 365.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1911, allocations: 0 / 365.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001485/0.1926, allocations: 0.9569 MB / 366.1 MB, free: 1.762 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.0002242/0.1928, allocations: 183.7 kB / 366.2 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007777/0.1936, allocations: 0.9452 MB / 367.2 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.646e-05/0.1937, allocations: 27.84 kB / 367.2 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1939, allocations: 280 kB / 367.5 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1949, allocations: 394.5 kB / 367.9 MB, free: 220 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005311/0.2002, allocations: 6.071 MB / 373.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.2008, allocations: 0.7858 MB / 374.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004409/0.2013, allocations: 229.7 kB / 375 MB, free: 8.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.2018, allocations: 349.1 kB / 375.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2018, allocations: 0 / 375.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of Templates: time 0.02395/0.2257, allocations: 18.51 MB / 393.8 MB, free: 6.344 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 -s gbode -gbm=radauIIA3 -emit_protected -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.9630196020007133]