Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.001553/0.001552, allocations: 103.5 kB / 16.4 MB, free: 6.504 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.001631/0.001631, 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.569/1.569, allocations: 222.9 MB / 245 MB, free: 14.99 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.04194/0.04194, allocations: 8.414 MB / 305.6 MB, free: 4.277 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.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 422.5 MB, free: 20.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1183, allocations: 51.37 MB / 473.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.01005/0.1283, allocations: 5.176 MB / 479.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004934/0.1333, allocations: 1.492 MB / 480.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.1345, allocations: 19.94 kB / 480.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.1353, allocations: 198.6 kB / 480.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.1365, allocations: 234.3 kB / 481 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1378, allocations: 379.3 kB / 481.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.1397, allocations: 0.9626 MB / 482.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1408, allocations: 0.5232 MB / 482.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007236/0.1415, allocations: 370.7 kB / 483.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006594/0.1422, allocations: 418.2 kB / 483.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.1424, allocations: 104 kB / 483.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.1428, allocations: 155.8 kB / 483.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.1431, allocations: 211.3 kB / 484.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005918/0.1437, allocations: 449.9 kB / 484.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.1457, allocations: 1.129 MB / 485.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1458, allocations: 0 / 485.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1458, allocations: 0 / 485.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1458, allocations: 0 / 485.7 MB, free: 5.27 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00304/0.1489, allocations: 1.224 MB / 486.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1489, allocations: 11.89 kB / 486.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.1492, allocations: 92.38 kB / 487 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.1502, allocations: 0.5213 MB / 487.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1504, allocations: 88.02 kB / 487.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1505, allocations: 68 kB / 487.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.152, allocations: 0.7291 MB / 488.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.1521, allocations: 0 / 488.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.1522, allocations: 35.98 kB / 488.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.1522, allocations: 19.94 kB / 488.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.1536, allocations: 0.5348 MB / 489 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.1578, allocations: 2.619 MB / 491.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1589, allocations: 476.2 kB / 492.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.1594, allocations: 197 kB / 492.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/0.1595, allocations: 8.266 kB / 492.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006565/0.1601, allocations: 289.3 kB / 492.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.315e-06/0.1601, allocations: 96 / 492.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001834/0.162, allocations: 0.7566 MB / 493.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1621, allocations: 144.5 kB / 493.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.1628, allocations: 0.5771 MB / 494 MB, free: 12.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.1629, allocations: 33.7 kB / 494 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.1632, allocations: 384.6 kB / 494.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.1634, allocations: 127 kB / 494.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1635, allocations: 94.25 kB / 494.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1637, allocations: 374.8 kB / 495 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.1642, allocations: 183 kB / 495.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.1648, allocations: 307.2 kB / 495.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.1662, allocations: 0.6077 MB / 496.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.1662, allocations: 3.938 kB / 496.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002013/0.1682, allocations: 0.6726 MB / 496.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.1684, allocations: 97.09 kB / 496.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1684, allocations: 4 kB / 496.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.1686, allocations: 24.84 kB / 496.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.1692, allocations: 104.2 kB / 497 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.171, allocations: 1.39 MB / 498.4 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/0.1717, allocations: 87.53 kB / 498.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.1718, allocations: 20 kB / 498.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001004/0.1728, allocations: 345.2 kB / 498.8 MB, free: 7.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007135/0.1736, allocations: 293.9 kB / 499.1 MB, free: 7.027 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001428/0.175, allocations: 0.5904 MB / 499.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.968e-06/0.175, allocations: 0 / 499.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001869/0.1769, allocations: 0.6546 MB / 0.4886 GB, free: 5.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/0.177, allocations: 95.75 kB / 0.4887 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.177, allocations: 7.984 kB / 0.4887 GB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.1772, allocations: 28.84 kB / 0.4888 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.1778, allocations: 91.81 kB / 0.4888 GB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.1792, allocations: 1.387 MB / 0.4902 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.1799, allocations: 75.83 kB / 0.4903 GB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.18, allocations: 20 kB / 0.4903 GB, free: 3.816 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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.0003681/0.1803, allocations: 283.3 kB / 0.4906 GB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1805, allocations: 63.61 kB / 0.4906 GB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.1823, allocations: 0.5496 MB / 0.4912 GB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.1823, allocations: 4 kB / 0.4912 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1823, allocations: 0 / 0.4912 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1824, allocations: 0 / 0.4912 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.1853, allocations: 1.242 MB / 0.4924 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1853, allocations: 4 kB / 0.4924 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.186, allocations: 63.95 kB / 0.4924 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.1861, allocations: 24.84 kB / 0.4925 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.1862, allocations: 15.88 kB / 0.4925 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1881, allocations: 1.375 MB / 0.4938 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1881, allocations: 0 / 0.4938 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.1906, allocations: 0.8482 MB / 0.4946 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.1909, allocations: 180.6 kB / 0.4948 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/0.191, allocations: 16 kB / 0.4948 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.1916, allocations: 43.95 kB / 0.4949 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.1918, allocations: 39.89 kB / 0.4949 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.1919, allocations: 12 kB / 0.4949 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007539/0.1926, allocations: 414.8 kB / 0.4953 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1926, allocations: 0 / 0.4953 GB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009827/0.1936, allocations: 299.1 kB / 0.4956 GB, free: 14.07 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.00133/0.195, allocations: 376.8 kB / 0.496 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.1978, allocations: 1.276 MB / 0.4972 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1979, allocations: 0 / 0.4972 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008222/0.1987, allocations: 445.6 kB / 0.4976 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.1994, allocations: 81.5 kB / 0.4977 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.202, allocations: 1.312 MB / 0.499 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007753/0.2028, allocations: 0.9249 MB / 0.4999 GB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003463/0.2032, allocations: 68.23 kB / 0.5 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2033, allocations: 43.42 kB / 0.5 GB, free: 9.488 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2033, allocations: 0 / 0.5 GB, free: 9.488 MB / 382.1 MB Notification: Performance of Templates: time 0.01572/0.2191, allocations: 7.307 MB / 0.5071 GB, free: 2.215 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.332744395360351]