Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001841/0.001841, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001999/0.001999, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04337/0.04337, allocations: 6.502 MB / 266.1 MB, free: 6.641 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.776e-06/2.776e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.833e-05, allocations: 6.312 kB / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00251/0.002538, allocations: 1.883 MB / 339.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.004447, allocations: 1.722 MB / 341 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.004528, allocations: 11.94 kB / 341 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.004789, allocations: 107.5 kB / 341.1 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.005153, allocations: 175.1 kB / 341.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.005479, allocations: 183.6 kB / 341.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.005748, allocations: 283.3 kB / 341.7 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.005855, allocations: 28.52 kB / 341.7 MB, free: 6.734 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.006085, allocations: 159.6 kB / 341.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.006263, allocations: 119.7 kB / 342 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.006301, allocations: 16 kB / 342 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.006461, allocations: 119.8 kB / 342.1 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.006526, allocations: 55.77 kB / 342.2 MB, free: 6.273 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.843e-05/0.006594, allocations: 63.78 kB / 342.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.006939, allocations: 354.9 kB / 342.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006942, allocations: 0 / 342.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006943, allocations: 0 / 342.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006949, allocations: 0 / 342.6 MB, free: 5.863 MB / 266.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.0006424/0.007591, allocations: 0.6774 MB / 343.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.007623, allocations: 12.03 kB / 343.3 MB, free: 5.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.978e-05/0.007712, allocations: 40.75 kB / 343.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.00797, allocations: 240.6 kB / 343.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.007986, allocations: 8.375 kB / 343.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.008007, allocations: 16.31 kB / 343.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.008278, allocations: 234.7 kB / 343.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.00829, allocations: 3.938 kB / 343.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.008308, allocations: 7.984 kB / 343.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.008312, allocations: 0 / 343.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.008522, allocations: 147.3 kB / 344 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.009267, allocations: 0.4954 MB / 344.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.009458, allocations: 166.4 kB / 344.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.009588, allocations: 127.1 kB / 344.7 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.009632, allocations: 4.094 kB / 344.8 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.009652, allocations: 41.41 kB / 344.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.123e-06/0.009653, allocations: 0 / 344.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005505/0.0102, allocations: 427.7 kB / 345.2 MB, free: 2.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.01024, allocations: 136.5 kB / 345.3 MB, free: 2.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.01056, allocations: 422.3 kB / 345.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.01059, allocations: 29.7 kB / 345.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.01068, allocations: 218.8 kB / 346 MB, free: 2.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.01071, allocations: 35.73 kB / 346 MB, free: 2.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.01077, allocations: 39.38 kB / 346.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.01086, allocations: 0.5352 MB / 346.6 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.01098, allocations: 111.4 kB / 346.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.01111, allocations: 156.5 kB / 346.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.01132, allocations: 222.5 kB / 347.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01132, allocations: 0 / 347.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000332/0.01165, allocations: 312.6 kB / 347.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.01168, allocations: 63.39 kB / 347.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01169, allocations: 0 / 347.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.0117, allocations: 4 kB / 347.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.428e-05/0.01179, allocations: 12.03 kB / 347.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01179, allocations: 0 / 347.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.01194, allocations: 27.92 kB / 347.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01196, allocations: 11.88 kB / 347.5 MB, free: 0.5078 MB / 266.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.000105/0.01206, allocations: 243.9 kB / 347.7 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.01212, allocations: 35.81 kB / 347.8 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.01261, allocations: 326.3 kB / 348.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.01262, allocations: 4 kB / 348.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.01262, allocations: 4 kB / 348.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01262, allocations: 0 / 348.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000374/0.013, allocations: 264.4 kB / 348.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.013, allocations: 0 / 348.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.01307, allocations: 12 kB / 348.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01307, allocations: 0 / 348.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.01309, allocations: 4 kB / 348.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01309, allocations: 0 / 348.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01309, allocations: 0 / 348.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.01372, allocations: 482.4 kB / 348.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.01383, allocations: 55.72 kB / 348.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.01387, allocations: 4 kB / 348.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.01405, allocations: 15.98 kB / 348.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.01413, allocations: 19.98 kB / 348.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01415, allocations: 8 kB / 349 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.0145, allocations: 283 kB / 349.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0145, allocations: 0 / 349.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00034/0.01484, allocations: 63.88 kB / 349.3 MB, free: 14.59 MB / 282.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.002827/0.01767, allocations: 495.4 kB / 349.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005821/0.01825, allocations: 389.1 kB / 350.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01825, allocations: 0 / 350.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.01857, allocations: 261.9 kB / 350.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.019, allocations: 57.42 kB / 350.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.01999, allocations: 0.5046 MB / 351 MB, free: 12.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.02016, allocations: 132.7 kB / 351.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.851e-05/0.02025, allocations: 37.11 kB / 351.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.02032, allocations: 24.5 kB / 351.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02032, allocations: 0 / 351.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of Templates: time 0.009618/0.02994, allocations: 3.956 MB / 355.1 MB, free: 8.816 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.601250106003135]