Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.0009977/0.0009977, allocations: 80.94 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.001115/0.001115, 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.9841/0.9841, allocations: 177.2 MB / 203.8 MB, free: 5.457 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.05156/0.05156, allocations: 6.504 MB / 266.8 MB, free: 6.48 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 285.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.442e-05, allocations: 6.25 kB / 285.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.123/0.123, allocations: 4.38 MB / 289.7 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1262, allocations: 2.431 MB / 292.1 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.1265, allocations: 18.31 kB / 292.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1269, allocations: 163.1 kB / 292.3 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.1274, allocations: 285 kB / 292.6 MB, free: 18.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.128, allocations: 427.5 kB / 293 MB, free: 18.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.1288, allocations: 0.9831 MB / 294 MB, free: 17.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1292, allocations: 353.1 kB / 294.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005982/0.1298, allocations: 0.5737 MB / 294.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1302, allocations: 331.4 kB / 295.2 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.1303, allocations: 107.6 kB / 295.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1304, allocations: 141.9 kB / 295.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1306, allocations: 250.1 kB / 295.7 MB, free: 17.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.1308, allocations: 314.3 kB / 296 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.1315, allocations: 0.7155 MB / 296.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1315, allocations: 0.75 kB / 296.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1315, allocations: 1.125 kB / 296.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1315, allocations: 1.062 kB / 296.7 MB, free: 16.55 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001092/0.1326, allocations: 1.146 MB / 297.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.582e-05/0.1326, allocations: 9.688 kB / 297.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.1327, allocations: 127.7 kB / 298 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.1331, allocations: 365.7 kB / 298.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.1332, allocations: 57.66 kB / 298.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.1332, allocations: 85.98 kB / 298.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005993/0.1338, allocations: 0.6379 MB / 299.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1339, allocations: 10.81 kB / 299.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1339, allocations: 27.44 kB / 299.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1339, allocations: 17.19 kB / 299.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.1342, allocations: 245 kB / 299.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.136, allocations: 1.771 MB / 301.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1363, allocations: 239.9 kB / 301.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/0.1364, allocations: 119.2 kB / 301.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1364, allocations: 6.156 kB / 301.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1366, allocations: 290.6 kB / 301.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.353e-06/0.1366, allocations: 0 / 301.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0004165/0.137, allocations: 456.9 kB / 302.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.137, allocations: 139.7 kB / 302.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1373, allocations: 452.1 kB / 302.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1373, allocations: 35.2 kB / 302.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.1374, allocations: 350 kB / 303.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.1375, allocations: 123.3 kB / 303.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.1376, allocations: 101.8 kB / 303.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.1376, allocations: 367 kB / 303.8 MB, free: 12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.1377, allocations: 149.4 kB / 304 MB, free: 11.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1378, allocations: 288 kB / 304.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.1381, allocations: 411.2 kB / 304.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1381, allocations: 1.594 kB / 304.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003356/0.1384, allocations: 478.2 kB / 305.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.1384, allocations: 94.73 kB / 305.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1384, allocations: 4.125 kB / 305.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.523e-05/0.1385, allocations: 21.22 kB / 305.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.1387, allocations: 99.45 kB / 305.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003684/0.1391, allocations: 1.167 MB / 306.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.1393, allocations: 67.2 kB / 306.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1393, allocations: 16.81 kB / 306.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001538/0.1394, allocations: 235.1 kB / 306.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001135/0.1396, allocations: 285.9 kB / 307.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002098/0.1398, allocations: 403.2 kB / 307.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.1398, allocations: 1.609 kB / 307.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003154/0.1401, allocations: 469.4 kB / 308 MB, free: 8.379 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.1401, allocations: 97.44 kB / 308.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1401, allocations: 4.156 kB / 308.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-05/0.1402, allocations: 29.38 kB / 308.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1403, allocations: 100.6 kB / 308.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/0.1406, allocations: 1.165 MB / 309.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.1408, allocations: 67.3 kB / 309.4 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.1408, allocations: 16.59 kB / 309.4 MB, free: 7.004 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: 7 (twoFlanges.constPDC.integrator1.local_reset,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * 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.211e-05/0.1409, allocations: 271.7 kB / 309.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.141, allocations: 46.62 kB / 309.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1412, allocations: 352 kB / 310.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1412, allocations: 5.219 kB / 310.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1412, allocations: 0 / 310.1 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1412, allocations: 3.984 kB / 310.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005468/0.1418, allocations: 0.7046 MB / 310.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1418, allocations: 0 / 310.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1419, allocations: 61.45 kB / 310.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.189e-05/0.142, allocations: 17.3 kB / 310.9 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.142, allocations: 15.95 kB / 310.9 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002913/0.1423, allocations: 1.161 MB / 312.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1423, allocations: 3.938 kB / 312.1 MB, free: 4.695 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.1426, allocations: 0.5473 MB / 312.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.1427, allocations: 62.88 kB / 312.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1427, allocations: 8.312 kB / 312.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1428, allocations: 34.84 kB / 312.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.1429, allocations: 33.94 kB / 312.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.1429, allocations: 10.22 kB / 312.8 MB, free: 4.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001316/0.143, allocations: 198.1 kB / 312.9 MB, free: 3.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.143, allocations: 3.938 kB / 313 MB, free: 3.992 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003891/0.1434, allocations: 338.8 kB / 313.3 MB, free: 3.66 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0008223/0.1442, allocations: 451.5 kB / 313.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1448, allocations: 1.126 MB / 314.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.1448, allocations: 8 kB / 314.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1449, allocations: 381.5 kB / 315.2 MB, free: 1.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1452, allocations: 93.38 kB / 315.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1464, allocations: 1.242 MB / 316.6 MB, free: 400 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.1465, allocations: 153.7 kB / 316.7 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1467, allocations: 55.38 kB / 316.8 MB, free: 168 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1468, allocations: 147.3 kB / 316.9 MB, free: 20 kB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1468, allocations: 0 / 316.9 MB, free: 20 kB / 266.7 MB Notification: Performance of Templates: time 0.01052/0.1574, allocations: 7.923 MB / 324.8 MB, free: 8.195 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7416938059031963]