Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001522/0.001522, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 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.001648/0.001648, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.463/1.463, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2511/0.2511, allocations: 46.89 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 85.03 kB / 0.4924 GB, free: 26.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1569, allocations: 65.98 MB / 0.5568 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.003112/0.16, allocations: 1.213 MB / 0.558 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.1608, allocations: 339 kB / 0.5583 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.1608, allocations: 4 kB / 0.5583 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.1608, allocations: 3.938 kB / 0.5583 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.859e-05/0.1608, allocations: 0 / 0.5583 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.1614, allocations: 55.81 kB / 0.5584 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.395e-05/0.1614, allocations: 4 kB / 0.5584 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.1615, allocations: 0 / 0.5584 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.1615, allocations: 4 kB / 0.5584 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1618, allocations: 43.95 kB / 0.5584 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1618, allocations: 0 / 0.5584 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.1618, allocations: 0 / 0.5584 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1618, allocations: 0 / 0.5584 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.1618, allocations: 3.938 kB / 0.5584 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 5.99e-05/0.1619, allocations: 7.922 kB / 0.5584 GB, free: 6.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1619, allocations: 0 / 0.5584 GB, free: 6.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1619, allocations: 4 kB / 0.5584 GB, free: 6.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1619, allocations: 0 / 0.5584 GB, free: 6.957 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004061/0.1623, allocations: 315.6 kB / 0.5587 GB, free: 6.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1624, allocations: 8.031 kB / 0.5587 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1624, allocations: 0.9375 kB / 0.5587 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1625, allocations: 168.4 kB / 0.5589 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1625, allocations: 384 / 0.5589 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1626, allocations: 384 / 0.5589 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1627, allocations: 42.14 kB / 0.5589 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1627, allocations: 192 / 0.5589 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1627, allocations: 3.938 kB / 0.5589 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1627, allocations: 4 kB / 0.5589 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.1627, allocations: 4 kB / 0.5589 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1631, allocations: 375.5 kB / 0.5593 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1633, allocations: 181 kB / 0.5595 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.1633, allocations: 81.88 kB / 0.5596 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.1634, allocations: 79.28 kB / 0.5596 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/0.1634, allocations: 105.8 kB / 0.5597 GB, free: 5.449 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.1634, allocations: 0 / 0.5597 GB, free: 5.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.55e-05/0.1635, allocations: 29.66 kB / 0.5598 GB, free: 5.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.1636, allocations: 130.7 kB / 0.5599 GB, free: 5.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.1637, allocations: 97.84 kB / 0.56 GB, free: 5.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1637, allocations: 29.83 kB / 0.56 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.1638, allocations: 80.14 kB / 0.5601 GB, free: 5.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.1638, allocations: 0 / 0.5601 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1638, allocations: 17.66 kB / 0.5601 GB, free: 5.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.164, allocations: 310.8 kB / 0.5604 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.164, allocations: 0 / 0.5604 GB, free: 4.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.164, allocations: 3.938 kB / 0.5604 GB, free: 4.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.164, allocations: 12.92 kB / 0.5604 GB, free: 4.695 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.164, allocations: 0 / 0.5604 GB, free: 4.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000112/0.1641, allocations: 41.62 kB / 0.5605 GB, free: 4.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1642, allocations: 4 kB / 0.5605 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1642, allocations: 4 kB / 0.5605 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1642, allocations: 0 / 0.5605 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.1642, allocations: 0 / 0.5605 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1642, allocations: 3.938 kB / 0.5605 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.1642, allocations: 0 / 0.5605 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1642, allocations: 0 / 0.5605 GB, free: 4.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001243/0.1644, allocations: 193.1 kB / 0.5606 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.1644, allocations: 101 kB / 0.5607 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.1645, allocations: 111.9 kB / 0.5608 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.354e-05/0.1646, allocations: 184.2 kB / 0.561 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.309e-05/0.1647, allocations: 180.3 kB / 0.5612 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.292e-05/0.1648, allocations: 184.2 kB / 0.5614 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.165, allocations: 409.2 kB / 0.5618 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.1651, allocations: 105 kB / 0.5619 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.1651, allocations: 104.9 kB / 0.562 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.349e-05/0.1652, allocations: 180.3 kB / 0.5621 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002116/0.1655, allocations: 180.2 kB / 0.5623 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.643e-05/0.1655, allocations: 192.2 kB / 0.5625 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.601e-05/0.1656, allocations: 180.4 kB / 0.5627 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1658, allocations: 307.8 kB / 0.563 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1659, allocations: 182 kB / 0.5631 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.166, allocations: 184.2 kB / 0.5633 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1661, allocations: 109 kB / 0.5634 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.1662, allocations: 180.2 kB / 0.5636 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1662, allocations: 105 kB / 0.5637 GB, free: 1.117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.1663, allocations: 75.28 kB / 0.5638 GB, free: 1.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1663, allocations: 0 / 0.5638 GB, free: 1.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1665, allocations: 4 kB / 0.5638 GB, free: 1.039 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001593/0.1667, allocations: 178.6 kB / 0.5639 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.655e-05/0.1668, allocations: 3.938 kB / 0.5639 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1668, allocations: 0 / 0.5639 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.1668, allocations: 3.938 kB / 0.5639 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1672, allocations: 459.6 kB / 0.5644 GB, free: 400 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.1675, allocations: 186.7 kB / 0.5646 GB, free: 176 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1679, allocations: 0.6729 MB / 0.5652 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.1679, allocations: 7.438 kB / 0.5652 GB, free: 15.46 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1679, allocations: 0 / 0.5652 GB, free: 15.46 MB / 430.1 MB Notification: Performance of Templates: time 0.002027/0.1699, allocations: 323.5 kB / 0.5655 GB, free: 15.15 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.338424026966095] Failed to read output from testmodel.py, exit status != 0: 0.17819155496545136 0.192994682 0.028155372 Calling exit ...