Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001404, allocations: 107.9 kB / 16.41 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 195.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04485/0.04485, allocations: 8.408 MB / 305.6 MB, free: 4.309 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001993, allocations: 63.91 kB / 422.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.114, allocations: 51.36 MB / 473.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006307/0.1203, allocations: 4.429 MB / 478.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003637/0.124, allocations: 2.118 MB / 480.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.1244, allocations: 16 kB / 480.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.1249, allocations: 162.6 kB / 480.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005881/0.1255, allocations: 226.3 kB / 480.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007742/0.1263, allocations: 423 kB / 481.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009728/0.1273, allocations: 0.9623 MB / 482.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.128, allocations: 0.4966 MB / 482.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/0.1285, allocations: 374.7 kB / 483.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005199/0.129, allocations: 402.2 kB / 483.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.1291, allocations: 108 kB / 483.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.1294, allocations: 152 kB / 483.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.1296, allocations: 235.3 kB / 483.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.1301, allocations: 469.7 kB / 484.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.1314, allocations: 1.199 MB / 485.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1314, allocations: 0 / 485.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1314, allocations: 3.938 kB / 485.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1314, allocations: 0 / 485.6 MB, free: 5.352 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002127/0.1336, allocations: 1.259 MB / 486.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1336, allocations: 15.89 kB / 486.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1338, allocations: 100.3 kB / 487 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.1347, allocations: 0.5681 MB / 487.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.1348, allocations: 54.38 kB / 487.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.1349, allocations: 84.11 kB / 487.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1363, allocations: 0.7322 MB / 488.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.1364, allocations: 3.953 kB / 488.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.1364, allocations: 32 kB / 488.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.1365, allocations: 16 kB / 488.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1377, allocations: 0.527 MB / 489 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004223/0.1419, allocations: 2.696 MB / 491.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1431, allocations: 468.3 kB / 492.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.1436, allocations: 193 kB / 492.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.1436, allocations: 4 kB / 492.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006493/0.1443, allocations: 274.5 kB / 492.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.584e-06/0.1443, allocations: 3.938 kB / 492.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001924/0.1462, allocations: 0.7389 MB / 493.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.1464, allocations: 132.8 kB / 493.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.1474, allocations: 0.6748 MB / 494.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.1474, allocations: 37.64 kB / 494.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.1478, allocations: 392.5 kB / 494.6 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.148, allocations: 127 kB / 494.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1482, allocations: 94.2 kB / 494.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.1485, allocations: 378.7 kB / 495.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.149, allocations: 187 kB / 495.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/0.1496, allocations: 295.2 kB / 495.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1507, allocations: 0.5921 MB / 496.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1507, allocations: 0 / 496.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001453/0.1522, allocations: 0.6765 MB / 496.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.1522, allocations: 87.92 kB / 497 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.1523, allocations: 4 kB / 497 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.1525, allocations: 24.84 kB / 497 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.1529, allocations: 100.2 kB / 497.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.1543, allocations: 1.395 MB / 498.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.1548, allocations: 83.52 kB / 498.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.1548, allocations: 20 kB / 498.6 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007513/0.1556, allocations: 366 kB / 499 MB, free: 7.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005117/0.1561, allocations: 279.3 kB / 499.2 MB, free: 6.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.1571, allocations: 0.5785 MB / 499.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1572, allocations: 0 / 499.8 MB, free: 6.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001342/0.1585, allocations: 0.6507 MB / 0.4887 GB, free: 5.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.928e-05/0.1586, allocations: 89.09 kB / 0.4888 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1586, allocations: 4 kB / 0.4888 GB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.1588, allocations: 28.84 kB / 0.4888 GB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.1591, allocations: 87.89 kB / 0.4889 GB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.1606, allocations: 1.406 MB / 0.4903 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.1612, allocations: 71.89 kB / 0.4904 GB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.1613, allocations: 20 kB / 0.4904 GB, free: 3.75 MB / 366.1 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * 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 0.0003769/0.1617, allocations: 274.6 kB / 0.4906 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.1618, allocations: 67.56 kB / 0.4907 GB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1632, allocations: 0.5304 MB / 0.4912 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1632, allocations: 4 kB / 0.4912 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1632, allocations: 4 kB / 0.4912 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1632, allocations: 7.922 kB / 0.4912 GB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/0.1655, allocations: 1.264 MB / 0.4925 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1656, allocations: 0 / 0.4925 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.1659, allocations: 63.89 kB / 0.4925 GB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.166, allocations: 32.78 kB / 0.4926 GB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.1661, allocations: 8 kB / 0.4926 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1672, allocations: 1.383 MB / 0.4939 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1673, allocations: 0 / 0.4939 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.169, allocations: 0.8289 MB / 0.4947 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.1692, allocations: 148.8 kB / 0.4949 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.1693, allocations: 12 kB / 0.4949 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.1697, allocations: 47.89 kB / 0.4949 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1698, allocations: 31.95 kB / 0.495 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.1698, allocations: 12 kB / 0.495 GB, free: 14.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006745/0.1705, allocations: 486.8 kB / 0.4954 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1705, allocations: 0 / 0.4954 GB, free: 14.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009355/0.1714, allocations: 311.1 kB / 0.4957 GB, free: 13.96 MB / 382.1 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.001336/0.1728, allocations: 367.7 kB / 0.4961 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.1752, allocations: 1.269 MB / 0.4973 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1753, allocations: 0 / 0.4973 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.176, allocations: 461.3 kB / 0.4978 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.1767, allocations: 86.16 kB / 0.4979 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1793, allocations: 1.385 MB / 0.4992 GB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006759/0.18, allocations: 0.929 MB / 0.5001 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000303/0.1803, allocations: 72.34 kB / 0.5002 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.1804, allocations: 39.44 kB / 0.5002 GB, free: 9.301 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1804, allocations: 4 kB / 0.5002 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Templates: time 0.01813/0.1986, allocations: 7.767 MB / 0.5078 GB, free: 1.566 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.249044323340058]