Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.0009025/0.0009025, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.001027/0.001027, allocations: 181 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 0.9544/0.9544, 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.02711/0.02711, allocations: 6.489 MB / 266.8 MB, free: 6.508 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.997e-05, allocations: 6.312 kB / 285.3 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.1312/0.1313, allocations: 5.069 MB / 290.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1347, allocations: 2.395 MB / 292.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1351, allocations: 16.78 kB / 292.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000468/0.1356, allocations: 199.9 kB / 293 MB, free: 18.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000703/0.1363, allocations: 293.4 kB / 293.3 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1369, allocations: 379 kB / 293.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009009/0.1378, allocations: 0.98 MB / 294.6 MB, free: 17.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.1383, allocations: 329.8 kB / 294.9 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006937/0.1389, allocations: 0.5636 MB / 295.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.1394, allocations: 345.1 kB / 295.8 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.1395, allocations: 106.7 kB / 295.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.1399, allocations: 211 kB / 296.2 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1401, allocations: 223.2 kB / 296.4 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.1403, allocations: 300.6 kB / 296.7 MB, free: 16.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007991/0.1411, allocations: 0.7367 MB / 297.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1411, allocations: 0.6562 kB / 297.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1411, allocations: 0 / 297.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.262e-05/0.1411, allocations: 1.031 kB / 297.4 MB, free: 15.99 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.001395/0.1425, allocations: 1.125 MB / 298.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1425, allocations: 12.16 kB / 298.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.1427, allocations: 116 kB / 298.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.1432, allocations: 350.8 kB / 299 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.1432, allocations: 109.5 kB / 299.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.1433, allocations: 74.12 kB / 299.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.144, allocations: 0.6418 MB / 299.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.144, allocations: 3.453 kB / 299.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.144, allocations: 27.62 kB / 299.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.144, allocations: 16.38 kB / 299.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1444, allocations: 236.2 kB / 300.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1462, allocations: 1.702 MB / 301.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1465, allocations: 253.3 kB / 302 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1466, allocations: 122.3 kB / 302.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1466, allocations: 10.06 kB / 302.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.1469, allocations: 290.1 kB / 302.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.1469, allocations: 1.812 kB / 302.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004607/0.1473, allocations: 450.7 kB / 302.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1474, allocations: 167.2 kB / 303.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1477, allocations: 436.4 kB / 303.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1477, allocations: 34.33 kB / 303.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1478, allocations: 329.8 kB / 303.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.1479, allocations: 126.1 kB / 304 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.148, allocations: 98.33 kB / 304.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.1481, allocations: 369.7 kB / 304.4 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1482, allocations: 148.5 kB / 304.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1483, allocations: 328 kB / 304.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1485, allocations: 401.1 kB / 305.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1485, allocations: 1.781 kB / 305.3 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003717/0.1489, allocations: 483.9 kB / 305.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.149, allocations: 93.34 kB / 305.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.149, allocations: 4.594 kB / 305.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.1491, allocations: 21.23 kB / 305.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1493, allocations: 104.5 kB / 306 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003633/0.1529, allocations: 1.16 MB / 307.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.1533, allocations: 67.69 kB / 307.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.1534, allocations: 21.36 kB / 307.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003383/0.1537, allocations: 231.9 kB / 307.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002189/0.1539, allocations: 324.1 kB / 307.8 MB, free: 8.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003957/0.1543, allocations: 409 kB / 308.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.1543, allocations: 5.719 kB / 308.2 MB, free: 7.965 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006529/0.155, allocations: 475 kB / 308.6 MB, free: 7.633 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.155, allocations: 97.59 kB / 308.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.155, allocations: 4.172 kB / 308.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001073/0.1551, allocations: 26.09 kB / 308.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.1555, allocations: 102.8 kB / 308.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006382/0.1561, allocations: 1.155 MB / 310 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.1565, allocations: 58.78 kB / 310.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.1565, allocations: 24.83 kB / 310.1 MB, free: 6.266 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.0001771/0.1567, allocations: 272.3 kB / 310.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.1568, allocations: 47.3 kB / 310.4 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.1573, allocations: 358.1 kB / 310.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1573, allocations: 4 kB / 310.8 MB, free: 5.715 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1573, allocations: 7.078 kB / 310.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1573, allocations: 0 / 310.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1584, allocations: 0.7056 MB / 311.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1584, allocations: 0 / 311.5 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.1587, allocations: 60.19 kB / 311.5 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.034e-05/0.1587, allocations: 21.38 kB / 311.6 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.1588, allocations: 6.656 kB / 311.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.1593, allocations: 1.164 MB / 312.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1593, allocations: 3.938 kB / 312.7 MB, free: 3.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.1599, allocations: 0.5562 MB / 313.3 MB, free: 3.488 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.16, allocations: 55.59 kB / 313.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.1601, allocations: 12 kB / 313.3 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.1603, allocations: 31.97 kB / 313.4 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.1604, allocations: 40 kB / 313.4 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1604, allocations: 8 kB / 313.4 MB, free: 3.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.1607, allocations: 199.2 kB / 313.6 MB, free: 3.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1607, allocations: 3.938 kB / 313.6 MB, free: 3.145 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008776/0.1616, allocations: 330.9 kB / 313.9 MB, free: 2.82 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.00163/0.1632, allocations: 0.5721 MB / 314.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1642, allocations: 1.142 MB / 315.7 MB, free: 1.273 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.1642, allocations: 8.062 kB / 315.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.1645, allocations: 393.5 kB / 316.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.1649, allocations: 93.8 kB / 316.1 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1672, allocations: 1.165 MB / 317.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.1674, allocations: 145.6 kB / 317.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.1677, allocations: 59.23 kB / 317.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.168, allocations: 151.3 kB / 317.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.168, allocations: 0 / 317.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01274/0.1807, allocations: 8.31 MB / 326 MB, free: 6.949 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1876095389015973]