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.0008444/0.0008444, 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.0009114/0.0009114, allocations: 181 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.9023/0.9023, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.02513/0.02513, allocations: 6.507 MB / 266.8 MB, free: 6.5 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 2.554e-06/2.554e-06, allocations: 4 kB / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.492e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.1064/0.1064, allocations: 5.04 MB / 290.3 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00331/0.1097, allocations: 2.399 MB / 292.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004344/0.1102, allocations: 18.84 kB / 292.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.1107, allocations: 220.3 kB / 292.9 MB, free: 18.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007615/0.1114, allocations: 345.4 kB / 293.3 MB, free: 18.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.1123, allocations: 0.5 MB / 293.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008849/0.1132, allocations: 1.079 MB / 294.9 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.1136, allocations: 337.2 kB / 295.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006399/0.1142, allocations: 0.6167 MB / 295.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.1147, allocations: 359.9 kB / 296.2 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.1148, allocations: 118.2 kB / 296.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.1152, allocations: 257.5 kB / 296.5 MB, free: 16.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1154, allocations: 274.3 kB / 296.8 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1156, allocations: 323.9 kB / 297.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.1164, allocations: 0.8569 MB / 298 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1164, allocations: 0 / 298 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1164, allocations: 3.938 kB / 298 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1164, allocations: 2.125 kB / 298 MB, free: 15.92 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.001156/0.1175, allocations: 1.257 MB / 299.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1176, allocations: 11.34 kB / 299.2 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.1177, allocations: 129.5 kB / 299.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1182, allocations: 419.6 kB / 299.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.1182, allocations: 107.8 kB / 299.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.401e-05/0.1183, allocations: 75.62 kB / 300 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.1189, allocations: 0.6969 MB / 300.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1189, allocations: 5.062 kB / 300.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1189, allocations: 28.41 kB / 300.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.119, allocations: 20.53 kB / 300.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.1192, allocations: 230.5 kB / 300.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1208, allocations: 1.775 MB / 302.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.1211, allocations: 243.1 kB / 302.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.1212, allocations: 125.7 kB / 303.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1212, allocations: 6.844 kB / 303.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1214, allocations: 292 kB / 303.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.322e-06/0.1214, allocations: 0 / 303.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004152/0.1218, allocations: 449.7 kB / 303.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1219, allocations: 194.8 kB / 304 MB, free: 12.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1222, allocations: 0.5653 MB / 304.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1222, allocations: 39.2 kB / 304.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1224, allocations: 346.1 kB / 304.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.1224, allocations: 135.5 kB / 305.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.735e-05/0.1225, allocations: 110.4 kB / 305.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.1226, allocations: 381.6 kB / 305.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.1227, allocations: 152.6 kB / 305.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.1228, allocations: 354.3 kB / 306 MB, free: 10.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1231, allocations: 417.1 kB / 306.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.1231, allocations: 1.375 kB / 306.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003563/0.1235, allocations: 498 kB / 306.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1235, allocations: 95.38 kB / 307 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1235, allocations: 4.656 kB / 307 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.727e-05/0.1236, allocations: 37.53 kB / 307.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1238, allocations: 98.7 kB / 307.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003804/0.1242, allocations: 1.159 MB / 308.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.1243, allocations: 72.3 kB / 308.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1244, allocations: 17.12 kB / 308.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001579/0.1245, allocations: 233.8 kB / 308.6 MB, free: 8.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001315/0.1247, allocations: 364.2 kB / 309 MB, free: 7.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002094/0.1249, allocations: 416.4 kB / 309.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.1249, allocations: 3.031 kB / 309.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0002931/0.1252, allocations: 499 kB / 309.9 MB, free: 6.941 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1252, allocations: 97.31 kB / 310 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.1252, allocations: 3.188 kB / 310 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.605e-05/0.1252, allocations: 23.66 kB / 310 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1254, allocations: 100.8 kB / 310.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002758/0.1257, allocations: 1.17 MB / 311.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.1258, allocations: 65.27 kB / 311.3 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1259, allocations: 25.66 kB / 311.4 MB, free: 5.57 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 9.025e-05/0.1259, allocations: 281.5 kB / 311.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.126, allocations: 49.92 kB / 311.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1263, allocations: 368.7 kB / 312.1 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1263, allocations: 8.188 kB / 312.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1263, allocations: 0 / 312.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1263, allocations: 2.219 kB / 312.1 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.1268, allocations: 0.7351 MB / 312.8 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1268, allocations: 4 kB / 312.8 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.1269, allocations: 63.89 kB / 312.9 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.355e-05/0.127, allocations: 20.78 kB / 312.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.127, allocations: 11.98 kB / 312.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002585/0.1273, allocations: 1.154 MB / 314.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1273, allocations: 1.953 kB / 314.1 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.1276, allocations: 0.5665 MB / 314.6 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.1277, allocations: 71.5 kB / 314.7 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.1277, allocations: 8 kB / 314.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1278, allocations: 35.97 kB / 314.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.1279, allocations: 31.94 kB / 314.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1279, allocations: 20.02 kB / 314.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1281, allocations: 279.3 kB / 315.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1281, allocations: 4 kB / 315.1 MB, free: 1.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004254/0.1285, allocations: 370.8 kB / 315.4 MB, free: 1.484 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.001656/0.1302, allocations: 0.9155 MB / 316.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005736/0.1307, allocations: 1.166 MB / 317.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.1307, allocations: 5.75 kB / 317.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.131, allocations: 393.5 kB / 317.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.1313, allocations: 116.5 kB / 318 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1327, allocations: 1.321 MB / 319.3 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.1328, allocations: 174 kB / 319.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.133, allocations: 72.36 kB / 319.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.1332, allocations: 171.3 kB / 319.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1332, allocations: 0 / 319.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Templates: time 0.01146/0.1447, allocations: 10.09 MB / 329.8 MB, free: 3.441 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7644446757622063]