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.0008277/0.0008277, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0008626/0.0008626, allocations: 177 kB / 23.36 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.9409/0.9409, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02566/0.02566, allocations: 6.474 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.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.663e-06/1.663e-06, allocations: 0 / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.416e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.1128/0.1128, allocations: 5.021 MB / 290.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.1159, allocations: 2.39 MB / 292.7 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.1162, allocations: 20.94 kB / 292.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1166, allocations: 198.2 kB / 292.9 MB, free: 18.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.1173, allocations: 304.2 kB / 293.2 MB, free: 18.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1178, allocations: 377.2 kB / 293.6 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00081/0.1187, allocations: 0.9738 MB / 294.5 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.119, allocations: 329.7 kB / 294.8 MB, free: 17.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.1196, allocations: 0.5737 MB / 295.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.1201, allocations: 343.7 kB / 295.8 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1202, allocations: 107.2 kB / 295.9 MB, free: 16.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.1205, allocations: 206.1 kB / 296.1 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1206, allocations: 219.7 kB / 296.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.1209, allocations: 292.7 kB / 296.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007434/0.1216, allocations: 0.7438 MB / 297.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1216, allocations: 1.219 kB / 297.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1216, allocations: 0 / 297.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1216, allocations: 0 / 297.3 MB, free: 16.05 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.001381/0.123, allocations: 1.126 MB / 298.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.123, allocations: 9.781 kB / 298.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1232, allocations: 120.1 kB / 298.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.1236, allocations: 348 kB / 298.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/0.1237, allocations: 105.3 kB / 299 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.576e-05/0.1238, allocations: 77.28 kB / 299.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.1245, allocations: 0.6394 MB / 299.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.1245, allocations: 6.969 kB / 299.7 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1245, allocations: 27.81 kB / 299.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1245, allocations: 16.22 kB / 299.8 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.1248, allocations: 222.5 kB / 300 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1266, allocations: 1.715 MB / 301.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1269, allocations: 247.3 kB / 301.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.024e-05/0.127, allocations: 123.1 kB / 302.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.127, allocations: 14.3 kB / 302.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1273, allocations: 294.9 kB / 302.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/0.1273, allocations: 0 / 302.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005044/0.1278, allocations: 448.5 kB / 302.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.1278, allocations: 169.3 kB / 303 MB, free: 12.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1281, allocations: 439.8 kB / 303.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1281, allocations: 35.11 kB / 303.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1282, allocations: 322.3 kB / 303.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.1283, allocations: 128.9 kB / 303.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.209e-05/0.1284, allocations: 98.59 kB / 304 MB, free: 11.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.1284, allocations: 374.7 kB / 304.3 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.178e-05/0.1285, allocations: 148.5 kB / 304.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1286, allocations: 327.6 kB / 304.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1288, allocations: 396.6 kB / 305.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1289, allocations: 1.344 kB / 305.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003584/0.1292, allocations: 477.7 kB / 305.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.1292, allocations: 93.34 kB / 305.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1293, allocations: 4.125 kB / 305.8 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.87e-05/0.1294, allocations: 25.17 kB / 305.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1295, allocations: 100.9 kB / 305.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003833/0.1299, allocations: 1.161 MB / 307 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1301, allocations: 63.56 kB / 307.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.1301, allocations: 24.64 kB / 307.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001521/0.1303, allocations: 235.7 kB / 307.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000119/0.1304, allocations: 319.1 kB / 307.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002075/0.1306, allocations: 406.5 kB / 308.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.1306, allocations: 2.125 kB / 308.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003183/0.1309, allocations: 478.7 kB / 308.5 MB, free: 7.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.131, allocations: 99.31 kB / 308.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.131, allocations: 2.406 kB / 308.6 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.164e-05/0.131, allocations: 20.09 kB / 308.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.1312, allocations: 93.64 kB / 308.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002973/0.1315, allocations: 1.163 MB / 309.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1316, allocations: 63.61 kB / 310 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1317, allocations: 15.97 kB / 310 MB, free: 6.332 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 9.721e-05/0.1318, allocations: 276.5 kB / 310.2 MB, free: 6.059 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.1318, allocations: 59.11 kB / 310.3 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.1321, allocations: 357.6 kB / 310.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1321, allocations: 4 kB / 310.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1321, allocations: 2 kB / 310.7 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1321, allocations: 3.984 kB / 310.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.1326, allocations: 0.6971 MB / 311.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1326, allocations: 0 / 311.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1328, allocations: 60.05 kB / 311.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-05/0.1328, allocations: 21.08 kB / 311.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1328, allocations: 13.58 kB / 311.5 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002698/0.1331, allocations: 1.145 MB / 312.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1331, allocations: 2.625 kB / 312.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1334, allocations: 0.5704 MB / 313.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.1335, allocations: 55.94 kB / 313.2 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.1336, allocations: 8.25 kB / 313.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1337, allocations: 35.97 kB / 313.3 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1338, allocations: 35.94 kB / 313.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1338, allocations: 8 kB / 313.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1339, allocations: 195.2 kB / 313.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1339, allocations: 0 / 313.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000447/0.1343, allocations: 334.9 kB / 313.8 MB, free: 2.941 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.001048/0.1354, allocations: 0.5757 MB / 314.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005578/0.1359, allocations: 1.15 MB / 315.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.136, allocations: 8 kB / 315.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1361, allocations: 385.6 kB / 315.9 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1364, allocations: 97.91 kB / 316 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.1376, allocations: 1.165 MB / 317.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.295e-05/0.1377, allocations: 145.6 kB / 317.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.1379, allocations: 55.23 kB / 317.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.1381, allocations: 147.3 kB / 317.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1381, allocations: 4 kB / 317.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of Templates: time 0.01009/0.1482, allocations: 8.308 MB / 325.9 MB, free: 7.074 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.75507997488603]