Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.001845/0.001845, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.002205/0.002205, allocations: 199.8 kB / 19.35 MB, free: 3.73 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.483/1.483, allocations: 222.9 MB / 245 MB, free: 15.01 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.06528/0.06528, allocations: 8.417 MB / 305.6 MB, free: 4.328 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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 422.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1248, allocations: 51.37 MB / 473.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.007113/0.132, allocations: 4.421 MB / 478.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.1367, allocations: 2.118 MB / 480.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005877/0.1373, allocations: 16 kB / 480.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.1379, allocations: 162.6 kB / 480.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008396/0.1388, allocations: 230.3 kB / 480.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1399, allocations: 422.2 kB / 481.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.141, allocations: 0.9662 MB / 482.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.1418, allocations: 0.5044 MB / 482.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.1424, allocations: 366.7 kB / 483.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.143, allocations: 422.2 kB / 483.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.1431, allocations: 108 kB / 483.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.1435, allocations: 160 kB / 483.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.1438, allocations: 243.3 kB / 484 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.1443, allocations: 473.7 kB / 484.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.1461, allocations: 1.23 MB / 485.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1461, allocations: 3.938 kB / 485.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1461, allocations: 0 / 485.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.1462, allocations: 0 / 485.7 MB, free: 5.289 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.002617/0.1488, allocations: 1.271 MB / 486.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.1489, allocations: 19.89 kB / 487 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1491, allocations: 96.33 kB / 487.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1502, allocations: 0.5759 MB / 487.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.741e-05/0.1503, allocations: 50.38 kB / 487.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.1504, allocations: 84.12 kB / 487.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.1519, allocations: 0.737 MB / 488.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.1519, allocations: 3.953 kB / 488.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.322e-05/0.152, allocations: 32 kB / 488.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.152, allocations: 20 kB / 488.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1533, allocations: 0.5309 MB / 489.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.1577, allocations: 2.707 MB / 491.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.1589, allocations: 464.4 kB / 492.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.1593, allocations: 193 kB / 492.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.1594, allocations: 4 kB / 492.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.16, allocations: 270.6 kB / 492.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.16, allocations: 0 / 492.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001936/0.162, allocations: 0.7389 MB / 493.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1621, allocations: 174.4 kB / 493.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.1631, allocations: 0.6748 MB / 494.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-05/0.1632, allocations: 37.7 kB / 494.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.1635, allocations: 396.5 kB / 494.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.1636, allocations: 119 kB / 494.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.1638, allocations: 98.2 kB / 494.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.164, allocations: 374.7 kB / 495.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.1645, allocations: 187 kB / 495.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005735/0.1651, allocations: 308.1 kB / 495.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.1662, allocations: 0.5998 MB / 496.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.1662, allocations: 4 kB / 496.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001402/0.1676, allocations: 0.6647 MB / 497 MB, free: 9.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.1677, allocations: 97.09 kB / 497.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1677, allocations: 4.438 kB / 497.1 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1679, allocations: 28.84 kB / 497.2 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.1683, allocations: 103.8 kB / 497.3 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1695, allocations: 1.388 MB / 498.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.17, allocations: 83.58 kB / 498.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/0.1701, allocations: 20 kB / 498.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/0.1708, allocations: 374.1 kB / 499.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000509/0.1713, allocations: 292.1 kB / 499.4 MB, free: 6.762 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009646/0.1723, allocations: 0.5824 MB / 500 MB, free: 6.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-06/0.1723, allocations: 0 / 500 MB, free: 6.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001291/0.1736, allocations: 0.6467 MB / 0.4889 GB, free: 5.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.1737, allocations: 97.09 kB / 0.489 GB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1737, allocations: 4 kB / 0.489 GB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001001/0.1738, allocations: 29.28 kB / 0.489 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.1742, allocations: 95.83 kB / 0.4891 GB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.1753, allocations: 1.391 MB / 0.4905 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.1757, allocations: 71.67 kB / 0.4905 GB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.1758, allocations: 20 kB / 0.4906 GB, free: 3.562 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.0002784/0.1761, allocations: 286.9 kB / 0.4908 GB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1762, allocations: 67.56 kB / 0.4909 GB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.1774, allocations: 0.5266 MB / 0.4914 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1774, allocations: 4 kB / 0.4914 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1775, allocations: 0 / 0.4914 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1775, allocations: 4 kB / 0.4914 GB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.1796, allocations: 1.284 MB / 0.4927 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1796, allocations: 0 / 0.4927 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.18, allocations: 59.89 kB / 0.4927 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-05/0.1801, allocations: 24.84 kB / 0.4928 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.1801, allocations: 8 kB / 0.4928 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.1812, allocations: 1.383 MB / 0.4941 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1812, allocations: 0 / 0.4941 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.183, allocations: 0.829 MB / 0.4949 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.1832, allocations: 152.7 kB / 0.4951 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.1833, allocations: 8 kB / 0.4951 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.1836, allocations: 39.95 kB / 0.4951 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.1838, allocations: 35.95 kB / 0.4952 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1838, allocations: 12 kB / 0.4952 GB, free: 14.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007015/0.1845, allocations: 490.8 kB / 0.4956 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1845, allocations: 4 kB / 0.4956 GB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009803/0.1855, allocations: 319 kB / 0.4959 GB, free: 13.75 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.001465/0.187, allocations: 413.4 kB / 0.4963 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.1895, allocations: 1.269 MB / 0.4976 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.1896, allocations: 4.188 kB / 0.4976 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.1904, allocations: 457.3 kB / 0.498 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006621/0.191, allocations: 102.1 kB / 0.4981 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.1939, allocations: 1.389 MB / 0.4995 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.1946, allocations: 0.929 MB / 0.5004 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.1948, allocations: 76.33 kB / 0.5004 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.195, allocations: 43.44 kB / 0.5005 GB, free: 9.039 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.195, allocations: 0 / 0.5005 GB, free: 9.039 MB / 382.1 MB Notification: Performance of Templates: time 0.01637/0.2113, allocations: 8.089 MB / 0.5084 GB, free: 0.9844 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.224312155507505]