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.0008952/0.0008952, allocations: 80.81 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.0009166/0.0009166, allocations: 173 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.8866/0.8866, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.02575/0.02575, allocations: 6.491 MB / 266.7 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 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 1.532e-06/1.532e-06, allocations: 0 / 285.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.383e-05, allocations: 2.312 kB / 285.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.1121/0.1121, allocations: 5.024 MB / 290.3 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.1154, allocations: 2.395 MB / 292.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.1158, allocations: 16.88 kB / 292.7 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.1162, allocations: 201.2 kB / 292.9 MB, free: 18.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006726/0.1169, allocations: 301.8 kB / 293.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.1175, allocations: 377.1 kB / 293.6 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000912/0.1185, allocations: 0.9722 MB / 294.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003839/0.1188, allocations: 329.5 kB / 294.8 MB, free: 17.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.1195, allocations: 0.5733 MB / 295.4 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005194/0.12, allocations: 346.2 kB / 295.8 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.1202, allocations: 106.2 kB / 295.9 MB, free: 17.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.1206, allocations: 210.3 kB / 296.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1207, allocations: 219.5 kB / 296.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.1209, allocations: 293.8 kB / 296.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.1218, allocations: 0.7362 MB / 297.3 MB, free: 16.26 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1218, allocations: 3.875 kB / 297.3 MB, free: 16.26 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1218, allocations: 1.312 kB / 297.3 MB, free: 16.26 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1218, allocations: 0 / 297.3 MB, free: 16.26 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.001277/0.1231, allocations: 1.124 MB / 298.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.1231, allocations: 8.906 kB / 298.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.1232, allocations: 122.4 kB / 298.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.1237, allocations: 350.9 kB / 298.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.1237, allocations: 105 kB / 299 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.1238, allocations: 73.56 kB / 299.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1244, allocations: 0.6414 MB / 299.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1244, allocations: 2.125 kB / 299.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.1245, allocations: 28.28 kB / 299.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1245, allocations: 15.59 kB / 299.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1248, allocations: 230.1 kB / 300 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1266, allocations: 1.713 MB / 301.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.1269, allocations: 248.9 kB / 301.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.572e-05/0.127, allocations: 123.4 kB / 302.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.127, allocations: 5.906 kB / 302.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1272, allocations: 295.3 kB / 302.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.1272, allocations: 3.5 kB / 302.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004362/0.1277, allocations: 450.3 kB / 302.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.1277, allocations: 167.2 kB / 303 MB, free: 12.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.128, allocations: 437.3 kB / 303.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.128, allocations: 35.64 kB / 303.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.1281, allocations: 322.4 kB / 303.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.1282, allocations: 126.9 kB / 303.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.006e-05/0.1283, allocations: 102.8 kB / 304 MB, free: 11.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.1283, allocations: 369.3 kB / 304.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.1284, allocations: 152.5 kB / 304.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1285, allocations: 330.4 kB / 304.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.1288, allocations: 396.7 kB / 305.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1288, allocations: 1.375 kB / 305.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003469/0.1291, allocations: 481.4 kB / 305.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1291, allocations: 90.8 kB / 305.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1292, allocations: 2.281 kB / 305.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.274e-05/0.1292, allocations: 31.78 kB / 305.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.1294, allocations: 95.58 kB / 305.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003942/0.1298, allocations: 1.163 MB / 307 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.13, allocations: 67.45 kB / 307.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1301, allocations: 15.78 kB / 307.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001526/0.1302, allocations: 231.2 kB / 307.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001172/0.1303, allocations: 324.2 kB / 307.7 MB, free: 8.562 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002072/0.1305, allocations: 410.2 kB / 308.1 MB, free: 8.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.176e-06/0.1305, allocations: 4.625 kB / 308.1 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003242/0.1309, allocations: 472.4 kB / 308.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1309, allocations: 99.81 kB / 308.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1309, allocations: 4.562 kB / 308.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.202e-05/0.1309, allocations: 27.09 kB / 308.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.1311, allocations: 92.55 kB / 308.7 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003119/0.1314, allocations: 1.158 MB / 309.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1316, allocations: 68.39 kB / 310 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1316, allocations: 15.94 kB / 310 MB, free: 6.508 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.0001106/0.1317, allocations: 277 kB / 310.3 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.1318, allocations: 50.61 kB / 310.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.132, allocations: 362.5 kB / 310.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.132, allocations: 2.938 kB / 310.7 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.132, allocations: 4 kB / 310.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.132, allocations: 0 / 310.7 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.1326, allocations: 0.702 MB / 311.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1326, allocations: 0 / 311.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.1328, allocations: 51.78 kB / 311.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-05/0.1328, allocations: 25.41 kB / 311.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1328, allocations: 9.25 kB / 311.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002706/0.1331, allocations: 1.154 MB / 312.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1331, allocations: 0 / 312.6 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.1335, allocations: 0.5667 MB / 313.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.1335, allocations: 55.59 kB / 313.2 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1336, allocations: 11.81 kB / 313.2 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1337, allocations: 40.09 kB / 313.3 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.1338, allocations: 31.94 kB / 313.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1338, allocations: 12 kB / 313.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.1339, allocations: 195.2 kB / 313.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 0 / 313.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005176/0.1344, allocations: 330.9 kB / 313.8 MB, free: 3.086 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.001039/0.1355, allocations: 0.5721 MB / 314.4 MB, free: 2.828 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.1361, allocations: 1.145 MB / 315.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.1361, allocations: 4 kB / 315.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.1362, allocations: 393.5 kB / 315.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1365, allocations: 95.05 kB / 316 MB, free: 1.004 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1378, allocations: 1.162 MB / 317.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.111e-05/0.1379, allocations: 141.7 kB / 317.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.1381, allocations: 63.22 kB / 317.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.1383, allocations: 151.3 kB / 317.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1383, allocations: 0 / 317.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of Templates: time 0.01067/0.149, allocations: 8.314 MB / 325.9 MB, free: 7.211 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7597757279872894]