Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.0009727/0.0009727, 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.001171/0.001171, 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.9883/0.9883, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.02597/0.02597, allocations: 6.489 MB / 266.7 MB, free: 6.516 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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.517e-05, allocations: 2.312 kB / 285.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.1377/0.1377, allocations: 5.056 MB / 290.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1409, allocations: 1.664 MB / 292 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.1413, allocations: 16.75 kB / 292 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.1417, allocations: 198.4 kB / 292.2 MB, free: 18.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.1424, allocations: 289.1 kB / 292.5 MB, free: 18.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006811/0.143, allocations: 376.8 kB / 292.9 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.1441, allocations: 0.9785 MB / 293.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/0.1446, allocations: 328.2 kB / 294.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00085/0.1455, allocations: 0.5562 MB / 294.7 MB, free: 17.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.146, allocations: 335.8 kB / 295.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.1462, allocations: 103.8 kB / 295.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.1464, allocations: 149.9 kB / 295.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1466, allocations: 212.3 kB / 295.5 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.1468, allocations: 292.6 kB / 295.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.1476, allocations: 0.6727 MB / 296.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1476, allocations: 1.719 kB / 296.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1476, allocations: 3.938 kB / 296.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.1477, allocations: 0 / 296.5 MB, free: 16.58 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.001546/0.1492, allocations: 1.098 MB / 297.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1493, allocations: 10.89 kB / 297.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.1494, allocations: 115.3 kB / 297.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/0.1499, allocations: 356.5 kB / 298.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/0.15, allocations: 109.1 kB / 298.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.1501, allocations: 72.66 kB / 298.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007302/0.1508, allocations: 0.609 MB / 298.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.1508, allocations: 2.938 kB / 298.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.1509, allocations: 28.39 kB / 298.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1509, allocations: 16.64 kB / 298.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.1512, allocations: 230.2 kB / 299.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1532, allocations: 1.698 MB / 300.8 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/0.1537, allocations: 249.2 kB / 301.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1538, allocations: 125.6 kB / 301.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.1539, allocations: 8.484 kB / 301.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.1542, allocations: 288.5 kB / 301.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.235e-06/0.1542, allocations: 4.531 kB / 301.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005648/0.1547, allocations: 440.9 kB / 301.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1548, allocations: 142.8 kB / 302 MB, free: 13.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.1551, allocations: 430.9 kB / 302.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1552, allocations: 33.83 kB / 302.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1553, allocations: 325.9 kB / 302.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.049e-05/0.1554, allocations: 124.7 kB / 302.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.1555, allocations: 98.09 kB / 303 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.102e-05/0.1556, allocations: 374 kB / 303.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1557, allocations: 144.4 kB / 303.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1559, allocations: 289.2 kB / 303.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1562, allocations: 406.5 kB / 304.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1562, allocations: 1.812 kB / 304.2 MB, free: 11.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000462/0.1567, allocations: 477 kB / 304.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.1567, allocations: 92.98 kB / 304.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1567, allocations: 5.156 kB / 304.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.1569, allocations: 23.94 kB / 304.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1571, allocations: 98.56 kB / 304.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000538/0.1576, allocations: 1.17 MB / 306.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.1578, allocations: 67.14 kB / 306.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.1579, allocations: 17 kB / 306.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000157/0.158, allocations: 225.2 kB / 306.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001349/0.1581, allocations: 292.2 kB / 306.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002359/0.1584, allocations: 411.5 kB / 307.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.1584, allocations: 1.062 kB / 307.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003709/0.1588, allocations: 465.6 kB / 307.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.1588, allocations: 97.98 kB / 307.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1588, allocations: 4.391 kB / 307.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.544e-05/0.1589, allocations: 30.47 kB / 307.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1591, allocations: 94.08 kB / 307.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/0.1594, allocations: 1.162 MB / 308.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1596, allocations: 62.86 kB / 309 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.1596, allocations: 20.03 kB / 309 MB, free: 7.164 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.000118/0.1598, allocations: 275.5 kB / 309.3 MB, free: 6.891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1598, allocations: 48.27 kB / 309.3 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.1601, allocations: 363 kB / 309.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1601, allocations: 4 kB / 309.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.1601, allocations: 1.219 kB / 309.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1601, allocations: 0 / 309.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.1607, allocations: 0.677 MB / 310.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1607, allocations: 0 / 310.3 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1609, allocations: 67.48 kB / 310.4 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.174e-05/0.161, allocations: 16.3 kB / 310.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.161, allocations: 11.98 kB / 310.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003416/0.1613, allocations: 1.17 MB / 311.6 MB, free: 4.871 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1613, allocations: 4 kB / 311.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1617, allocations: 0.5576 MB / 312.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.1618, allocations: 63.06 kB / 312.2 MB, free: 4.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1618, allocations: 10.69 kB / 312.2 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1619, allocations: 33.94 kB / 312.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.162, allocations: 35.88 kB / 312.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.162, allocations: 9.844 kB / 312.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.1622, allocations: 190 kB / 312.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1622, allocations: 2.25 kB / 312.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004215/0.1626, allocations: 305.8 kB / 312.8 MB, free: 4 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.00104/0.1636, allocations: 449.4 kB / 313.2 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006148/0.1642, allocations: 1.142 MB / 314.4 MB, free: 2.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.1642, allocations: 4 kB / 314.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1644, allocations: 389.5 kB / 314.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.1647, allocations: 98.92 kB / 314.9 MB, free: 2.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.166, allocations: 1.161 MB / 316 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.1661, allocations: 142.5 kB / 316.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001532/0.1662, allocations: 56.91 kB / 316.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.1664, allocations: 143.3 kB / 316.4 MB, free: 448 kB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1664, allocations: 0 / 316.4 MB, free: 448 kB / 266.7 MB Notification: Performance of Templates: time 0.01083/0.1773, allocations: 7.468 MB / 323.8 MB, free: 9.066 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8416004423052073]