Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.001614/0.001614, allocations: 106.8 kB / 16.4 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.001739/0.001739, allocations: 191.7 kB / 19.35 MB, free: 3.754 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.565/1.565, 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.04596/0.04596, allocations: 8.403 MB / 305.6 MB, free: 4.312 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.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.88 kB / 422.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1291, allocations: 51.37 MB / 473.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.008201/0.1373, allocations: 5.16 MB / 479 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.1417, allocations: 2.09 MB / 481.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.1424, allocations: 15.94 kB / 481.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.143, allocations: 194.6 kB / 481.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007692/0.1438, allocations: 246.2 kB / 481.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.1447, allocations: 375.3 kB / 482 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.1459, allocations: 0.9548 MB / 482.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007519/0.1467, allocations: 486.9 kB / 483.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004993/0.1472, allocations: 366.8 kB / 483.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/0.1478, allocations: 426.2 kB / 484.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.148, allocations: 104 kB / 484.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.1483, allocations: 164 kB / 484.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1485, allocations: 215.3 kB / 484.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.1489, allocations: 433.9 kB / 485.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.1504, allocations: 1.14 MB / 486.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1504, allocations: 4 kB / 486.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1504, allocations: 0 / 486.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1504, allocations: 0 / 486.2 MB, free: 4.75 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.002318/0.1528, allocations: 1.222 MB / 487.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1528, allocations: 11.89 kB / 487.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.153, allocations: 100.4 kB / 487.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/0.1539, allocations: 0.5057 MB / 488 MB, free: 2.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.154, allocations: 83.33 kB / 488.1 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1541, allocations: 72 kB / 488.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1556, allocations: 0.7043 MB / 488.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.1556, allocations: 3.953 kB / 488.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.1557, allocations: 32 kB / 488.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1557, allocations: 20 kB / 488.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.1571, allocations: 0.5203 MB / 489.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.161, allocations: 2.589 MB / 492.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1622, allocations: 472.1 kB / 492.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.1626, allocations: 193 kB / 492.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.656e-05/0.1627, allocations: 4.281 kB / 492.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006386/0.1634, allocations: 285.3 kB / 493 MB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 4.438e-06/0.1634, allocations: 0 / 493 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001883/0.1653, allocations: 0.7604 MB / 493.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.1654, allocations: 170.2 kB / 493.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.1662, allocations: 0.5849 MB / 494.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.1662, allocations: 41.7 kB / 494.5 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.1666, allocations: 368.7 kB / 494.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.1667, allocations: 123 kB / 495 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.1669, allocations: 98.2 kB / 495.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.1671, allocations: 370.8 kB / 495.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.1676, allocations: 191 kB / 495.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.1682, allocations: 304.1 kB / 496 MB, free: 10.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.1693, allocations: 0.6038 MB / 496.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1693, allocations: 0 / 496.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001416/0.1708, allocations: 0.6803 MB / 497.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.1708, allocations: 97.53 kB / 497.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1709, allocations: 4 kB / 497.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.1711, allocations: 32.84 kB / 497.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.1715, allocations: 99.81 kB / 497.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.1727, allocations: 1.382 MB / 498.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.1733, allocations: 95.44 kB / 498.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.1734, allocations: 28.09 kB / 499 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006889/0.174, allocations: 345.2 kB / 499.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005404/0.1746, allocations: 288.1 kB / 499.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009891/0.1756, allocations: 0.5826 MB / 0.4885 GB, free: 5.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.1756, allocations: 0 / 0.4885 GB, free: 5.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001288/0.1769, allocations: 0.6545 MB / 0.4891 GB, free: 5.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.177, allocations: 97.09 kB / 0.4892 GB, free: 5.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.177, allocations: 4.438 kB / 0.4892 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.41e-05/0.1771, allocations: 28.86 kB / 0.4892 GB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1775, allocations: 99.81 kB / 0.4893 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.1787, allocations: 1.382 MB / 0.4907 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.1792, allocations: 67.73 kB / 0.4907 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.1793, allocations: 20.19 kB / 0.4907 GB, free: 3.352 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.0003387/0.1796, allocations: 292.8 kB / 0.491 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1797, allocations: 67.58 kB / 0.4911 GB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.181, allocations: 0.5457 MB / 0.4916 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.181, allocations: 4 kB / 0.4916 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.181, allocations: 0 / 0.4916 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.181, allocations: 3.984 kB / 0.4916 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.1833, allocations: 1.253 MB / 0.4929 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1834, allocations: 0 / 0.4929 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.1837, allocations: 71.88 kB / 0.4929 GB, free: 1.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.33e-05/0.1838, allocations: 20.8 kB / 0.4929 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.1839, allocations: 15.98 kB / 0.493 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.1849, allocations: 1.371 MB / 0.4943 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.185, allocations: 8.188 kB / 0.4943 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.1867, allocations: 0.8519 MB / 0.4951 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.187, allocations: 172.7 kB / 0.4953 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.187, allocations: 12 kB / 0.4953 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.1875, allocations: 43.95 kB / 0.4954 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1876, allocations: 35.89 kB / 0.4954 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.1876, allocations: 19.98 kB / 0.4954 GB, free: 14.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006159/0.1883, allocations: 418.8 kB / 0.4958 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1883, allocations: 0 / 0.4958 GB, free: 13.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001056/0.1893, allocations: 303.1 kB / 0.4961 GB, free: 13.56 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.001535/0.1909, allocations: 414.1 kB / 0.4965 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.1934, allocations: 1.269 MB / 0.4977 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1934, allocations: 0 / 0.4977 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.1942, allocations: 449.5 kB / 0.4982 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.1949, allocations: 99.38 kB / 0.4983 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.1975, allocations: 1.285 MB / 0.4995 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.1981, allocations: 0.9094 MB / 0.5004 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.1984, allocations: 56.25 kB / 0.5004 GB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1985, allocations: 43.42 kB / 0.5005 GB, free: 9.016 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1985, allocations: 0 / 0.5005 GB, free: 9.016 MB / 382.1 MB Notification: Performance of Templates: time 0.01531/0.2138, allocations: 7.628 MB / 0.5079 GB, free: 1.418 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.444777828641236]