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.001404/0.001404, allocations: 80.75 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.001658/0.001658, 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.9223/0.9223, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.02498/0.02498, allocations: 6.501 MB / 266.8 MB, free: 6.496 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 1.593e-06/1.593e-06, allocations: 0 / 285.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.959e-05, allocations: 2.312 kB / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.1192/0.1192, allocations: 4.348 MB / 289.6 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.1277, allocations: 2.426 MB / 292 MB, free: 18.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003902/0.1281, allocations: 19.5 kB / 292.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.1285, allocations: 164.8 kB / 292.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00375/0.1322, allocations: 290.7 kB / 292.5 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007655/0.133, allocations: 430.1 kB / 292.9 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.1339, allocations: 0.9798 MB / 293.9 MB, free: 17.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.1344, allocations: 353.5 kB / 294.3 MB, free: 17.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.1381, allocations: 0.5783 MB / 294.8 MB, free: 17.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.1386, allocations: 326.3 kB / 295.1 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.1388, allocations: 108.5 kB / 295.3 MB, free: 17.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.139, allocations: 136.7 kB / 295.4 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1391, allocations: 254.4 kB / 295.6 MB, free: 17.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.1394, allocations: 310.7 kB / 295.9 MB, free: 17.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007756/0.1402, allocations: 0.7197 MB / 296.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1402, allocations: 1.219 kB / 296.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1402, allocations: 0.8125 kB / 296.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1402, allocations: 0 / 296.7 MB, free: 16.61 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.004285/0.1445, allocations: 1.15 MB / 297.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.1445, allocations: 11.12 kB / 297.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.1447, allocations: 121 kB / 297.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.1452, allocations: 365.8 kB / 298.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.1452, allocations: 59.53 kB / 298.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.126e-05/0.1453, allocations: 81.08 kB / 298.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/0.1461, allocations: 0.6428 MB / 299.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.1461, allocations: 4.969 kB / 299.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.1461, allocations: 32.81 kB / 299.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1461, allocations: 17.44 kB / 299.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.1465, allocations: 238.8 kB / 299.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.1487, allocations: 1.768 MB / 301.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.1491, allocations: 248.7 kB / 301.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.961e-05/0.1492, allocations: 117.6 kB / 301.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1492, allocations: 10.05 kB / 301.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1494, allocations: 291.4 kB / 301.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.432e-06/0.1494, allocations: 0 / 301.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005074/0.15, allocations: 457.5 kB / 302.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.15, allocations: 136.8 kB / 302.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1503, allocations: 446.5 kB / 302.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.1504, allocations: 41.7 kB / 302.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1505, allocations: 351 kB / 303.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1506, allocations: 128.3 kB / 303.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.1507, allocations: 97.02 kB / 303.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.1507, allocations: 363.6 kB / 303.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1508, allocations: 145.8 kB / 303.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.151, allocations: 293.2 kB / 304.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.1512, allocations: 410 kB / 304.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1512, allocations: 1.344 kB / 304.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004238/0.1517, allocations: 479.4 kB / 305.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.1517, allocations: 94.84 kB / 305.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1517, allocations: 2.844 kB / 305.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.1518, allocations: 22.61 kB / 305.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.152, allocations: 86.58 kB / 305.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/0.1525, allocations: 1.179 MB / 306.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1527, allocations: 60.22 kB / 306.5 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1527, allocations: 16.38 kB / 306.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001772/0.1529, allocations: 234.5 kB / 306.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001369/0.1531, allocations: 286.5 kB / 307 MB, free: 9.117 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002488/0.1533, allocations: 398.6 kB / 307.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.1533, allocations: 1.469 kB / 307.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0003876/0.1537, allocations: 469.5 kB / 307.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.1537, allocations: 90.62 kB / 308 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1537, allocations: 3.969 kB / 308 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/0.1538, allocations: 34.16 kB / 308 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.154, allocations: 91.8 kB / 308.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003785/0.1544, allocations: 1.176 MB / 309.3 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.1546, allocations: 66.05 kB / 309.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1546, allocations: 13.12 kB / 309.3 MB, free: 7.059 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 0.0001216/0.1547, allocations: 270.2 kB / 309.6 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.1548, allocations: 51.67 kB / 309.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.1551, allocations: 349.5 kB / 310 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1551, allocations: 6.531 kB / 310 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1551, allocations: 2.688 kB / 310 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1551, allocations: 7.984 kB / 310 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.1558, allocations: 0.6957 MB / 310.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1558, allocations: 0 / 310.7 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.156, allocations: 53.62 kB / 310.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.163e-05/0.156, allocations: 21.23 kB / 310.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.1561, allocations: 14 kB / 310.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003516/0.1564, allocations: 1.161 MB / 312 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1564, allocations: 0 / 312 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.1568, allocations: 0.5515 MB / 312.5 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1569, allocations: 61.16 kB / 312.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.1569, allocations: 15.12 kB / 312.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1571, allocations: 34.16 kB / 312.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.389e-05/0.1571, allocations: 31.27 kB / 312.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1572, allocations: 12.97 kB / 312.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1573, allocations: 197.5 kB / 312.9 MB, free: 4.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 312.9 MB, free: 4.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.1579, allocations: 334.8 kB / 313.2 MB, free: 3.777 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.001032/0.1589, allocations: 447.1 kB / 313.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.1596, allocations: 1.13 MB / 314.7 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.1596, allocations: 4 kB / 314.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.1598, allocations: 389.5 kB / 315.1 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1601, allocations: 96.77 kB / 315.2 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1617, allocations: 1.23 MB / 316.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.1617, allocations: 153.7 kB / 316.6 MB, free: 356 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.1619, allocations: 59.38 kB / 316.7 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.1621, allocations: 147.3 kB / 316.8 MB, free: 148 kB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1621, allocations: 0 / 316.8 MB, free: 148 kB / 266.7 MB Notification: Performance of Templates: time 0.01233/0.1745, allocations: 7.934 MB / 324.7 MB, free: 8.309 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8191370111890137]