Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.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.001027/0.001027, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.00151/0.00151, allocations: 173.1 kB / 23.28 MB, free: 1.215 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 1.057/1.057, allocations: 177.1 MB / 203.7 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02865/0.02865, allocations: 6.49 MB / 266.7 MB, free: 6.477 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 338.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.896e-05/3.156e-05, allocations: 4.844 kB / 338.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003875/0.003906, allocations: 1.9 MB / 340.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.006538, allocations: 1.757 MB / 342.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.006679, allocations: 0 / 342.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.007002, allocations: 107.5 kB / 342.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.007512, allocations: 175.1 kB / 342.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.007878, allocations: 179.6 kB / 342.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.008202, allocations: 299.1 kB / 342.9 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.008301, allocations: 20.59 kB / 342.9 MB, free: 7.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.008546, allocations: 151.7 kB / 343.1 MB, free: 6.992 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.00871, allocations: 119.6 kB / 343.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.008738, allocations: 20 kB / 343.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.009042, allocations: 123.8 kB / 343.3 MB, free: 6.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.009101, allocations: 51.78 kB / 343.4 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.009154, allocations: 67.77 kB / 343.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.00947, allocations: 267 kB / 343.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.009475, allocations: 4 kB / 343.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009475, allocations: 0 / 343.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.00948, allocations: 0 / 343.7 MB, free: 6.352 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005939/0.01007, allocations: 0.6582 MB / 344.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.01011, allocations: 12.03 kB / 344.4 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.01018, allocations: 44.75 kB / 344.4 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.0104, allocations: 224.6 kB / 344.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.01041, allocations: 12.38 kB / 344.7 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.01043, allocations: 16.38 kB / 344.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.01063, allocations: 215.3 kB / 344.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.01064, allocations: 3.938 kB / 344.9 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.01065, allocations: 8 kB / 344.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01065, allocations: 0 / 344.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.01073, allocations: 102.2 kB / 345 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.0112, allocations: 416 kB / 345.4 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.01129, allocations: 126.3 kB / 345.5 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.01144, allocations: 91.06 kB / 345.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.01148, allocations: 4 kB / 345.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.01152, allocations: 37.39 kB / 345.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.01152, allocations: 0 / 345.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000396/0.01192, allocations: 335.9 kB / 346 MB, free: 3.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.01197, allocations: 140.5 kB / 346.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01221, allocations: 350.3 kB / 346.5 MB, free: 3.312 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01223, allocations: 29.7 kB / 346.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.01234, allocations: 210.7 kB / 346.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.01237, allocations: 35.73 kB / 346.7 MB, free: 3.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.01242, allocations: 39.31 kB / 346.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01256, allocations: 0.5156 MB / 347.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.01261, allocations: 79.38 kB / 347.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.01269, allocations: 136.4 kB / 347.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.01279, allocations: 166.5 kB / 347.7 MB, free: 2.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01279, allocations: 0 / 347.7 MB, free: 2.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.01297, allocations: 264.5 kB / 347.9 MB, free: 1.727 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.01301, allocations: 63.44 kB / 348 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01302, allocations: 3.984 kB / 348 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.01303, allocations: 0 / 348 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.01309, allocations: 12 kB / 348 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.0131, allocations: 4 kB / 348 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.01318, allocations: 19.94 kB / 348 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.01319, allocations: 8 kB / 348 MB, free: 1.605 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.0133, allocations: 227.9 kB / 348.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.01334, allocations: 39.86 kB / 348.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.01357, allocations: 266.3 kB / 348.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01358, allocations: 0 / 348.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.01358, allocations: 0 / 348.6 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01358, allocations: 3.984 kB / 348.6 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.01375, allocations: 185 kB / 348.7 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01375, allocations: 0 / 348.7 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.01379, allocations: 8 kB / 348.7 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01379, allocations: 0 / 348.7 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.0138, allocations: 8 kB / 348.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.0138, allocations: 0 / 348.8 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0138, allocations: 4 kB / 348.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.01404, allocations: 426.4 kB / 349.2 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.0141, allocations: 39.83 kB / 349.2 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01412, allocations: 4 kB / 349.2 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.01421, allocations: 19.98 kB / 349.2 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.01426, allocations: 15.98 kB / 349.3 MB, free: 264 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.01427, allocations: 8 kB / 349.3 MB, free: 256 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001307/0.0144, allocations: 234.9 kB / 349.5 MB, free: 20 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.0144, allocations: 4 kB / 349.5 MB, free: 16 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01464, allocations: 71.8 kB / 349.6 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008604/0.0155, allocations: 449.5 kB / 350 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.01572, allocations: 309.2 kB / 350.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01572, allocations: 0 / 350.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.01583, allocations: 221.8 kB / 350.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.0161, allocations: 60.16 kB / 350.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.01706, allocations: 475 kB / 351 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.573e-05/0.01712, allocations: 87.75 kB / 351.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01719, allocations: 17.14 kB / 351.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.01735, allocations: 134.2 kB / 351.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.01735, allocations: 0 / 351.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of Templates: time 0.005527/0.02287, allocations: 4.21 MB / 355.5 MB, free: 10.05 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.979138673748821]