Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.001079/0.001079, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009891/0.0009891, allocations: 177 kB / 23.36 MB, free: 1.125 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 1/1, allocations: 177.1 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.02673/0.02673, allocations: 6.49 MB / 266.7 MB, free: 6.504 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.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 285.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.672e-05, allocations: 10.25 kB / 285.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.1419/0.1419, allocations: 5.06 MB / 290.4 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003692/0.1456, allocations: 2.392 MB / 292.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.146, allocations: 21.38 kB / 292.8 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.1465, allocations: 196.7 kB / 293 MB, free: 18.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.1471, allocations: 297.6 kB / 293.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.1477, allocations: 375.7 kB / 293.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009603/0.1487, allocations: 0.9781 MB / 294.6 MB, free: 17.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.1491, allocations: 328.2 kB / 294.9 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.1498, allocations: 0.5689 MB / 295.5 MB, free: 17.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.1503, allocations: 344.2 kB / 295.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.1504, allocations: 107.8 kB / 295.9 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.1507, allocations: 210.8 kB / 296.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1509, allocations: 221.6 kB / 296.4 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1512, allocations: 294.3 kB / 296.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000897/0.1521, allocations: 0.7448 MB / 297.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1521, allocations: 0 / 297.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1521, allocations: 0 / 297.4 MB, free: 16.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.1521, allocations: 1.375 kB / 297.4 MB, free: 16.21 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.001216/0.1533, allocations: 1.124 MB / 298.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1533, allocations: 10.28 kB / 298.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.1535, allocations: 119.3 kB / 298.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.1539, allocations: 351 kB / 299 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.154, allocations: 109.3 kB / 299.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.628e-05/0.1541, allocations: 75.86 kB / 299.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006465/0.1547, allocations: 0.64 MB / 299.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1547, allocations: 1.875 kB / 299.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.1548, allocations: 28.64 kB / 299.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.1548, allocations: 17.61 kB / 299.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.1551, allocations: 232.3 kB / 300.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.1569, allocations: 1.705 MB / 301.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.1572, allocations: 252.3 kB / 302 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.1573, allocations: 127.1 kB / 302.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1573, allocations: 5.938 kB / 302.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1575, allocations: 291.5 kB / 302.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.252e-06/0.1575, allocations: 0 / 302.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004441/0.158, allocations: 455.3 kB / 302.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.158, allocations: 166.2 kB / 303.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.1583, allocations: 434.4 kB / 303.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1583, allocations: 41.33 kB / 303.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1584, allocations: 321.7 kB / 303.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.1585, allocations: 122.3 kB / 304 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1586, allocations: 105.6 kB / 304.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.1587, allocations: 370.9 kB / 304.4 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1588, allocations: 144.5 kB / 304.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1589, allocations: 325.9 kB / 304.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.1591, allocations: 397.9 kB / 305.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1591, allocations: 4.781 kB / 305.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003619/0.1595, allocations: 476 kB / 305.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.1595, allocations: 98.72 kB / 305.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1595, allocations: 2.75 kB / 305.8 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.1597, allocations: 30.58 kB / 305.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1599, allocations: 95.36 kB / 306 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004054/0.1603, allocations: 1.169 MB / 307.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.1605, allocations: 67.7 kB / 307.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1605, allocations: 16.62 kB / 307.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001652/0.1606, allocations: 227.8 kB / 307.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000138/0.1608, allocations: 327.9 kB / 307.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002309/0.161, allocations: 408.5 kB / 308.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.161, allocations: 1.5 kB / 308.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000362/0.1614, allocations: 479.3 kB / 308.6 MB, free: 7.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.1614, allocations: 98.84 kB / 308.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1614, allocations: 4.672 kB / 308.7 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.074e-05/0.1615, allocations: 25.44 kB / 308.8 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1617, allocations: 100.4 kB / 308.9 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003638/0.162, allocations: 1.157 MB / 310 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1622, allocations: 67.11 kB / 310.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1622, allocations: 17.19 kB / 310.1 MB, free: 6.449 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: 8 (oneFlange.pDC.integrator1.local_reset,oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.000105/0.1623, allocations: 277.3 kB / 310.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.1624, allocations: 53.05 kB / 310.4 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.1627, allocations: 352.8 kB / 310.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1627, allocations: 4 kB / 310.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1627, allocations: 2 kB / 310.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1627, allocations: 0 / 310.8 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.1633, allocations: 0.7007 MB / 311.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1633, allocations: 3.094 kB / 311.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.1634, allocations: 54.34 kB / 311.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.003e-05/0.1635, allocations: 21.41 kB / 311.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1635, allocations: 13.23 kB / 311.6 MB, free: 5.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003148/0.1638, allocations: 1.161 MB / 312.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1638, allocations: 0 / 312.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.1642, allocations: 0.5645 MB / 313.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.813e-05/0.1643, allocations: 55.59 kB / 313.3 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1643, allocations: 8 kB / 313.3 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1644, allocations: 40.06 kB / 313.4 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.1645, allocations: 35.94 kB / 313.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1645, allocations: 8 kB / 313.4 MB, free: 3.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.1647, allocations: 199.2 kB / 313.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 0 / 313.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000452/0.1651, allocations: 330.9 kB / 313.9 MB, free: 2.984 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,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * 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.001235/0.1664, allocations: 0.5742 MB / 314.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.1669, allocations: 1.145 MB / 315.7 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.1669, allocations: 8 kB / 315.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1671, allocations: 385.6 kB / 316 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1674, allocations: 97.06 kB / 316.1 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1687, allocations: 1.162 MB / 317.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.1688, allocations: 145.6 kB / 317.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.169, allocations: 59.23 kB / 317.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.1692, allocations: 147.3 kB / 317.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1692, allocations: 0 / 317.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01103/0.1802, allocations: 8.319 MB / 326 MB, free: 7.105 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8807919677346945]