Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001433/0.001433, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001572/0.001572, allocations: 177 kB / 23.36 MB, free: 1.133 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.9372/0.9372, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02549/0.02549, allocations: 6.496 MB / 266.7 MB, free: 6.512 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) 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(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.467e-06/3.467e-06, allocations: 3.984 kB / 285.2 MB, free: 4.004 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.82e-05, allocations: 2.312 kB / 285.3 MB, free: 4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.1434/0.1434, allocations: 4.321 MB / 289.6 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00385/0.1473, allocations: 2.43 MB / 292 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004221/0.1477, allocations: 16.97 kB / 292 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.1481, allocations: 163.2 kB / 292.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007076/0.1488, allocations: 286.5 kB / 292.5 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000819/0.1496, allocations: 428.1 kB / 292.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.1507, allocations: 0.9891 MB / 293.9 MB, free: 17.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.1512, allocations: 356.7 kB / 294.2 MB, free: 17.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/0.152, allocations: 0.5748 MB / 294.8 MB, free: 17.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006138/0.1526, allocations: 330.4 kB / 295.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002109/0.1528, allocations: 112.2 kB / 295.2 MB, free: 17.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1532, allocations: 202.5 kB / 295.4 MB, free: 17.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.1534, allocations: 253.6 kB / 295.7 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.1538, allocations: 320 kB / 296 MB, free: 17.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1549, allocations: 0.7878 MB / 296.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1549, allocations: 2.703 kB / 296.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1549, allocations: 0 / 296.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.1549, allocations: 0 / 296.8 MB, free: 16.61 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001626/0.1566, allocations: 1.164 MB / 297.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1566, allocations: 9.938 kB / 297.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.1568, allocations: 120.3 kB / 298.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.1573, allocations: 375.3 kB / 298.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.1574, allocations: 58.34 kB / 298.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.1575, allocations: 80.48 kB / 298.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.1582, allocations: 0.6675 MB / 299.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1583, allocations: 9.703 kB / 299.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1583, allocations: 33.17 kB / 299.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.1583, allocations: 17.5 kB / 299.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1587, allocations: 232.7 kB / 299.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.1608, allocations: 1.769 MB / 301.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1612, allocations: 232.1 kB / 301.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.1613, allocations: 124.3 kB / 301.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1613, allocations: 6.312 kB / 301.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.1615, allocations: 286.8 kB / 301.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.1615, allocations: 0.6094 kB / 301.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004693/0.162, allocations: 457.9 kB / 302.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.162, allocations: 164.2 kB / 302.5 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1624, allocations: 455.2 kB / 303 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1624, allocations: 33.83 kB / 303 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1625, allocations: 346.3 kB / 303.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.1625, allocations: 125.6 kB / 303.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.1626, allocations: 94.47 kB / 303.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.1627, allocations: 372.9 kB / 303.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.1628, allocations: 143.9 kB / 304.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1629, allocations: 321.4 kB / 304.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1632, allocations: 411 kB / 304.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1632, allocations: 1.062 kB / 304.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003625/0.1635, allocations: 479.3 kB / 305.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.1636, allocations: 99.19 kB / 305.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1636, allocations: 8.094 kB / 305.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.962e-05/0.1637, allocations: 24.47 kB / 305.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1639, allocations: 90.95 kB / 305.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/0.1643, allocations: 1.168 MB / 306.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.1645, allocations: 64.22 kB / 306.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.1645, allocations: 20.36 kB / 306.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001604/0.1647, allocations: 231.8 kB / 306.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000125/0.1648, allocations: 318.3 kB / 307.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002129/0.165, allocations: 403 kB / 307.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.165, allocations: 1.219 kB / 307.6 MB, free: 8.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003466/0.1654, allocations: 475.1 kB / 308.1 MB, free: 8.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.1654, allocations: 94.59 kB / 308.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1654, allocations: 2.656 kB / 308.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.696e-05/0.1654, allocations: 23.55 kB / 308.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1656, allocations: 92.33 kB / 308.3 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/0.1659, allocations: 1.172 MB / 309.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1661, allocations: 64.53 kB / 309.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.1661, allocations: 16.22 kB / 309.6 MB, free: 6.883 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.1663, allocations: 279.7 kB / 309.8 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.1663, allocations: 51.61 kB / 309.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1666, allocations: 346.1 kB / 310.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1666, allocations: 3.094 kB / 310.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1666, allocations: 3.984 kB / 310.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1666, allocations: 0 / 310.2 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.1673, allocations: 0.71 MB / 310.9 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1673, allocations: 2.781 kB / 311 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1674, allocations: 54.92 kB / 311 MB, free: 5.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.862e-05/0.1674, allocations: 13.48 kB / 311 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1675, allocations: 12.67 kB / 311 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003001/0.1678, allocations: 1.17 MB / 312.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1678, allocations: 0.5469 kB / 312.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1681, allocations: 0.5454 MB / 312.7 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.1681, allocations: 58.12 kB / 312.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.1682, allocations: 17.78 kB / 312.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1683, allocations: 35.47 kB / 312.9 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.1684, allocations: 33.34 kB / 312.9 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1684, allocations: 14.25 kB / 312.9 MB, free: 4.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1685, allocations: 207.4 kB / 313.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1685, allocations: 0 / 313.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005464/0.1691, allocations: 358.7 kB / 313.5 MB, free: 3.488 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001126/0.1702, allocations: 0.5588 MB / 314 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.1708, allocations: 1.13 MB / 315.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.1708, allocations: 4 kB / 315.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.171, allocations: 389.5 kB / 315.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1713, allocations: 104.8 kB / 315.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1728, allocations: 1.227 MB / 316.9 MB, free: 160 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.1729, allocations: 154.5 kB / 317 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1731, allocations: 59.34 kB / 317.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.1733, allocations: 155.3 kB / 317.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1733, allocations: 0 / 317.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of Templates: time 0.01113/0.1844, allocations: 8.764 MB / 326 MB, free: 7.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9278085911646485]