Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.00101/0.00101, allocations: 80.88 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.001211/0.001211, allocations: 181 kB / 23.35 MB, free: 1.137 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.9868/0.9868, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02802/0.02802, allocations: 6.498 MB / 266.8 MB, free: 6.492 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 285.3 MB, free: 3.926 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.889e-05, allocations: 2.312 kB / 285.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.1123/0.1124, allocations: 5.089 MB / 290.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1155, allocations: 2.389 MB / 292.8 MB, free: 18.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.1158, allocations: 21.28 kB / 292.8 MB, free: 18.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.1163, allocations: 223.8 kB / 293 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005862/0.1169, allocations: 338.7 kB / 293.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.1176, allocations: 0.4999 MB / 293.9 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.1185, allocations: 1.077 MB / 294.9 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004479/0.119, allocations: 341.7 kB / 295.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007907/0.1198, allocations: 0.6127 MB / 295.9 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.1202, allocations: 363.4 kB / 296.3 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.1204, allocations: 116.5 kB / 296.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.1207, allocations: 255.2 kB / 296.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1209, allocations: 277.3 kB / 296.9 MB, free: 16.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.1212, allocations: 325.2 kB / 297.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.122, allocations: 0.8647 MB / 298.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.122, allocations: 0.7031 kB / 298.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.122, allocations: 0 / 298.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.122, allocations: 4.062 kB / 298.1 MB, free: 15.79 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00115/0.1232, allocations: 1.254 MB / 299.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.1232, allocations: 11.06 kB / 299.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1233, allocations: 129.5 kB / 299.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.1238, allocations: 421.9 kB / 299.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.1239, allocations: 111.6 kB / 300 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.124, allocations: 72.94 kB / 300.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006582/0.1246, allocations: 0.6992 MB / 300.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1246, allocations: 1.375 kB / 300.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.1247, allocations: 27.8 kB / 300.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1247, allocations: 16.25 kB / 300.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.125, allocations: 234.8 kB / 301 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.1266, allocations: 1.773 MB / 302.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.1269, allocations: 252.5 kB / 303 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.563e-05/0.127, allocations: 115.8 kB / 303.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.127, allocations: 10.28 kB / 303.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.1272, allocations: 290.3 kB / 303.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.393e-06/0.1272, allocations: 1.062 kB / 303.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000446/0.1277, allocations: 449.5 kB / 303.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1277, allocations: 198.7 kB / 304.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.1281, allocations: 0.5632 MB / 304.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.1281, allocations: 39.2 kB / 304.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1282, allocations: 345.8 kB / 305 MB, free: 11.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.1283, allocations: 131.4 kB / 305.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1284, allocations: 115.1 kB / 305.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.1284, allocations: 379.3 kB / 305.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1285, allocations: 155.9 kB / 305.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1287, allocations: 354.6 kB / 306.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1289, allocations: 420.9 kB / 306.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1289, allocations: 0 / 306.5 MB, free: 9.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003852/0.1293, allocations: 497.1 kB / 307 MB, free: 9.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.1293, allocations: 95.38 kB / 307.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1294, allocations: 4.047 kB / 307.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/0.1295, allocations: 25.23 kB / 307.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.1297, allocations: 112.1 kB / 307.3 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004574/0.1302, allocations: 1.161 MB / 308.4 MB, free: 8.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1304, allocations: 72.2 kB / 308.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.1305, allocations: 21.59 kB / 308.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002014/0.1307, allocations: 237.1 kB / 308.7 MB, free: 7.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001739/0.1308, allocations: 365.4 kB / 309.1 MB, free: 7.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002634/0.1311, allocations: 421.1 kB / 309.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.1311, allocations: 0 / 309.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0004013/0.1315, allocations: 0.493 MB / 310 MB, free: 6.797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1315, allocations: 91.55 kB / 310.1 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1315, allocations: 2.531 kB / 310.1 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-05/0.1316, allocations: 23.12 kB / 310.1 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1318, allocations: 114.4 kB / 310.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003696/0.1322, allocations: 1.159 MB / 311.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1324, allocations: 65.89 kB / 311.5 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1325, allocations: 19.16 kB / 311.5 MB, free: 5.434 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 (62): * Single equations (assignments): 58 * 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.0001033/0.1326, allocations: 281.6 kB / 311.8 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.1326, allocations: 54.66 kB / 311.8 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.133, allocations: 363.3 kB / 312.2 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.133, allocations: 7.938 kB / 312.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.133, allocations: 3.938 kB / 312.2 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.133, allocations: 3.984 kB / 312.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.1337, allocations: 0.7412 MB / 312.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1337, allocations: 0 / 312.9 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1339, allocations: 63.09 kB / 313 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.081e-05/0.134, allocations: 20.84 kB / 313 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.134, allocations: 7.938 kB / 313 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003378/0.1343, allocations: 1.163 MB / 314.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1343, allocations: 0 / 314.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.1347, allocations: 0.5586 MB / 314.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1349, allocations: 79.42 kB / 314.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.1349, allocations: 12 kB / 314.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1351, allocations: 31.97 kB / 314.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.1352, allocations: 36 kB / 314.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1352, allocations: 16 kB / 314.9 MB, free: 1.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1354, allocations: 275.3 kB / 315.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1354, allocations: 0 / 315.2 MB, free: 1.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006486/0.1361, allocations: 370.8 kB / 315.5 MB, free: 1.32 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.002138/0.1382, allocations: 0.9199 MB / 316.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007703/0.139, allocations: 1.16 MB / 317.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.139, allocations: 8 kB / 317.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.1393, allocations: 393.5 kB / 318 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1397, allocations: 122 kB / 318.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.1417, allocations: 1.333 MB / 319.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.1418, allocations: 166 kB / 319.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.1421, allocations: 64.39 kB / 319.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.1424, allocations: 179.2 kB / 319.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1424, allocations: 0 / 319.9 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Templates: time 0.01571/0.1581, allocations: 10.08 MB / 329.9 MB, free: 3.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.896977429743856]