Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001641/0.001641, allocations: 102.1 kB / 16.4 MB, free: 6.508 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.001801/0.001801, allocations: 195.8 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.682/1.682, allocations: 222.9 MB / 245 MB, free: 15.04 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.04364/0.04364, allocations: 8.411 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.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 71.88 kB / 422.5 MB, free: 20.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1261, allocations: 51.36 MB / 473.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.007516/0.1337, allocations: 5.155 MB / 479 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.1368, allocations: 1.496 MB / 480.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.1374, allocations: 15.94 kB / 480.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005185/0.1379, allocations: 198.6 kB / 480.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005973/0.1385, allocations: 230.4 kB / 481 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007571/0.1393, allocations: 371.3 kB / 481.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1404, allocations: 0.9548 MB / 482.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007526/0.1412, allocations: 494.8 kB / 482.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.1417, allocations: 362.8 kB / 483.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.1423, allocations: 414.2 kB / 483.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1424, allocations: 104 kB / 483.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.1427, allocations: 147.9 kB / 483.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.143, allocations: 207.4 kB / 484 MB, free: 7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004976/0.1435, allocations: 433.9 kB / 484.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.145, allocations: 1.109 MB / 485.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.145, allocations: 0 / 485.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.145, allocations: 0 / 485.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1451, allocations: 0 / 485.5 MB, free: 5.461 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002226/0.1473, allocations: 1.21 MB / 486.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1473, allocations: 15.89 kB / 486.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.1475, allocations: 92.38 kB / 486.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008482/0.1484, allocations: 0.5212 MB / 487.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.1486, allocations: 83.33 kB / 487.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1487, allocations: 72 kB / 487.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1501, allocations: 0.6918 MB / 488.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/0.1501, allocations: 11.88 kB / 488.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.1502, allocations: 28 kB / 488.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.1502, allocations: 16 kB / 488.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.1516, allocations: 0.5126 MB / 488.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004123/0.1557, allocations: 2.581 MB / 491.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1569, allocations: 478.6 kB / 491.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.1574, allocations: 193 kB / 492 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.1575, allocations: 8.266 kB / 492 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006522/0.1581, allocations: 277.4 kB / 492.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/0.1581, allocations: 4 kB / 492.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002012/0.1602, allocations: 0.7606 MB / 493 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.1603, allocations: 144.5 kB / 493.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/0.1611, allocations: 0.5732 MB / 493.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.1612, allocations: 37.7 kB / 493.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.1615, allocations: 368.7 kB / 494.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.1616, allocations: 126.9 kB / 494.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1618, allocations: 102.2 kB / 494.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.1621, allocations: 366.8 kB / 494.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.1627, allocations: 191 kB / 494.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/0.1633, allocations: 303.2 kB / 495.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.1645, allocations: 0.6038 MB / 495.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1645, allocations: 0 / 495.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001454/0.166, allocations: 0.6844 MB / 496.5 MB, free: 9.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.1661, allocations: 93.11 kB / 496.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1661, allocations: 3.984 kB / 496.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/0.1663, allocations: 24.86 kB / 496.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.1667, allocations: 95.81 kB / 496.7 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1682, allocations: 1.387 MB / 498.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.1687, allocations: 95.61 kB / 498.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/0.1688, allocations: 24 kB / 498.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006554/0.1695, allocations: 341.1 kB / 498.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005333/0.17, allocations: 295.2 kB / 498.8 MB, free: 7.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.171, allocations: 0.5787 MB / 499.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.171, allocations: 8 kB / 499.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001326/0.1724, allocations: 0.6509 MB / 0.4884 GB, free: 5.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.1724, allocations: 93.11 kB / 0.4884 GB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1725, allocations: 4 kB / 0.4884 GB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.782e-05/0.1726, allocations: 24.78 kB / 0.4885 GB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.1729, allocations: 95.88 kB / 0.4886 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.1741, allocations: 1.39 MB / 0.4899 GB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.1745, allocations: 63.91 kB / 0.49 GB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1746, allocations: 27.98 kB / 0.49 GB, free: 4.141 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: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * 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.0002596/0.1749, allocations: 276.8 kB / 0.4903 GB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.175, allocations: 63.58 kB / 0.4903 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.1763, allocations: 0.5458 MB / 0.4909 GB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1763, allocations: 4 kB / 0.4909 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1763, allocations: 0 / 0.4909 GB, free: 3.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1763, allocations: 7.984 kB / 0.4909 GB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.1784, allocations: 1.234 MB / 0.4921 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1784, allocations: 0 / 0.4921 GB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.1788, allocations: 67.94 kB / 0.4921 GB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.1789, allocations: 32.72 kB / 0.4922 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.1789, allocations: 11.94 kB / 0.4922 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.1801, allocations: 1.371 MB / 0.4935 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1801, allocations: 3.938 kB / 0.4935 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.1819, allocations: 0.856 MB / 0.4944 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.1821, allocations: 172.7 kB / 0.4945 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.1822, allocations: 11.98 kB / 0.4945 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1826, allocations: 43.95 kB / 0.4946 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1827, allocations: 39.89 kB / 0.4946 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.1828, allocations: 12 kB / 0.4946 GB, free: 15.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005255/0.1833, allocations: 414.8 kB / 0.495 GB, free: 14.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.1833, allocations: 0 / 0.495 GB, free: 14.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008766/0.1842, allocations: 295.1 kB / 0.4953 GB, free: 14.39 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,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.001337/0.1855, allocations: 360.1 kB / 0.4957 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.1879, allocations: 1.269 MB / 0.4969 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1879, allocations: 4.188 kB / 0.4969 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007277/0.1886, allocations: 449.6 kB / 0.4973 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005724/0.1892, allocations: 103.3 kB / 0.4974 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1916, allocations: 1.281 MB / 0.4987 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006661/0.1923, allocations: 0.9093 MB / 0.4996 GB, free: 9.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002913/0.1926, allocations: 76.2 kB / 0.4996 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1927, allocations: 43.42 kB / 0.4997 GB, free: 9.863 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1927, allocations: 3.938 kB / 0.4997 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Templates: time 0.01446/0.2072, allocations: 7.282 MB / 0.5068 GB, free: 2.609 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.521235732361674]