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.0008761/0.0008761, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0008614/0.0008614, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.849/0.849, allocations: 177 MB / 205.2 MB, free: 5.043 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.282e-06/1.282e-06, allocations: 0 / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.271e-05, allocations: 2.312 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01009/0.0101, allocations: 9.152 MB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005347/0.01545, allocations: 2.856 MB / 285.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.0161, allocations: 91.56 kB / 285.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005905/0.022, allocations: 4.468 MB / 290 MB, free: 420 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09885/0.1208, allocations: 0.7996 MB / 290.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1224, allocations: 0.9403 MB / 291.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.1252, allocations: 4.225 MB / 295.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006299/0.1315, allocations: 7.298 MB / 303.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.1347, allocations: 3.644 MB / 306.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.1367, allocations: 2.624 MB / 309.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00057/0.1373, allocations: 0.666 MB / 310.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007943/0.1381, allocations: 0.8957 MB / 311 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004885/0.1386, allocations: 1.279 MB / 312.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.1396, allocations: 1.736 MB / 314.1 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.1418, allocations: 4.423 MB / 318.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1418, allocations: 0 / 318.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1418, allocations: 0 / 318.5 MB, free: 1.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.541e-05/0.1418, allocations: 0 / 318.5 MB, free: 1.125 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.005332/0.1472, allocations: 5.21 MB / 323.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1472, allocations: 11.98 kB / 323.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.1513, allocations: 1.744 MB / 325.5 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.153, allocations: 1.359 MB / 326.8 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.1532, allocations: 348.4 kB / 327.2 MB, free: 8.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/0.1536, allocations: 456 kB / 327.6 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.1568, allocations: 3.001 MB / 330.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/0.1568, allocations: 4.953 kB / 330.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.1571, allocations: 191.8 kB / 330.8 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.1573, allocations: 196.7 kB / 331 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.159, allocations: 1.146 MB / 332.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.1698, allocations: 13.19 MB / 345.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.1716, allocations: 1.338 MB / 346.7 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.1719, allocations: 257.2 kB / 346.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.172, allocations: 51.86 kB / 347 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.172, allocations: 39.56 kB / 347 MB, free: 5.297 MB / 298.7 MB Notification: Performance of pre-optimization done (n=94): time 2.224e-06/0.172, allocations: 0 / 347 MB, free: 5.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=94): time 0.0005627/0.1726, allocations: 486.3 kB / 347.5 MB, free: 4.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1726, allocations: 71.41 kB / 347.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006199/0.1732, allocations: 1.031 MB / 348.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1733, allocations: 41.7 kB / 348.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.1739, allocations: 1.948 MB / 350.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.1741, allocations: 354.3 kB / 350.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/0.1744, allocations: 445.1 kB / 351.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.1745, allocations: 351 kB / 351.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.1748, allocations: 303.4 kB / 352 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.1755, allocations: 1.331 MB / 353.3 MB, free: 14.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.1766, allocations: 1.816 MB / 355.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.1766, allocations: 15.75 kB / 355.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.001236/0.1779, allocations: 1.395 MB / 356.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1779, allocations: 20 kB / 356.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.1779, allocations: 48.03 kB / 356.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.178, allocations: 52 kB / 356.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.1788, allocations: 0.5089 MB / 357.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.582e-05/0.1788, allocations: 82.81 kB / 357.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.1794, allocations: 266 kB / 357.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-05/0.1795, allocations: 104 kB / 357.6 MB, free: 10.46 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.0003794/0.1799, allocations: 277.7 kB / 357.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.18, allocations: 107.9 kB / 358 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.1807, allocations: 0.6844 MB / 358.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002802/0.1809, allocations: 300.5 kB / 359 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1809, allocations: 4 kB / 359 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1809, allocations: 3.984 kB / 359 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/0.1849, allocations: 3.436 MB / 362.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.1849, allocations: 19.94 kB / 362.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.1852, allocations: 186.7 kB / 362.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/0.1853, allocations: 28 kB / 362.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.105e-05/0.1853, allocations: 48 kB / 362.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.655e-05/0.1853, allocations: 39.19 kB / 362.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/0.1853, allocations: 27.41 kB / 362.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009351/0.1863, allocations: 1.408 MB / 364.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.1865, allocations: 184.1 kB / 364.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.1865, allocations: 47.98 kB / 364.4 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.1869, allocations: 48.02 kB / 364.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.187, allocations: 129.7 kB / 364.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.187, allocations: 51.98 kB / 364.6 MB, free: 3.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.1873, allocations: 434.5 kB / 365 MB, free: 2.949 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1873, allocations: 0 / 365 MB, free: 2.949 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001195/0.1885, allocations: 0.9569 MB / 366 MB, free: 1.988 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.0002029/0.1887, allocations: 187.3 kB / 366.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.1895, allocations: 0.939 MB / 367.1 MB, free: 1.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.457e-05/0.1895, allocations: 31.84 kB / 367.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.1898, allocations: 282.4 kB / 367.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.1908, allocations: 392.7 kB / 367.8 MB, free: 448 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.1962, allocations: 6.07 MB / 373.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.1968, allocations: 0.7897 MB / 374.7 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.1973, allocations: 225.7 kB / 374.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.1977, allocations: 349.1 kB / 375.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1977, allocations: 0 / 375.2 MB, free: 8.738 MB / 330.7 MB Notification: Performance of Templates: time 0.02342/0.2212, allocations: 18.51 MB / 393.7 MB, free: 6.574 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 -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.6534190019592643]