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.001456/0.001456, allocations: 92.7 kB / 19.44 MB, free: 324 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.002343/0.002343, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.04541/0.04541, allocations: 6.478 MB / 266 MB, free: 6.664 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.905e-06/2.905e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.718e-05, allocations: 2.312 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003451/0.003488, allocations: 1.863 MB / 339.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.006, allocations: 1.71 MB / 340.9 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.006219, allocations: 0 / 340.9 MB, free: 7.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.006614, allocations: 111.5 kB / 341 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.007207, allocations: 175.1 kB / 341.2 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.007732, allocations: 183.5 kB / 341.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.008178, allocations: 291.3 kB / 341.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.008305, allocations: 28.5 kB / 341.7 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.008635, allocations: 155.6 kB / 341.8 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.008859, allocations: 115.7 kB / 341.9 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.00891, allocations: 20 kB / 342 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.009151, allocations: 119.8 kB / 342.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.009227, allocations: 55.78 kB / 342.1 MB, free: 6.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.009311, allocations: 67.77 kB / 342.2 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.009788, allocations: 346.9 kB / 342.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.009794, allocations: 0 / 342.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.009795, allocations: 4 kB / 342.5 MB, free: 5.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.009804, allocations: 0 / 342.5 MB, free: 5.926 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.0008346/0.01064, allocations: 0.5544 MB / 343.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01067, allocations: 12.03 kB / 343.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.01079, allocations: 44.75 kB / 343.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.01111, allocations: 237.8 kB / 343.4 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.01113, allocations: 8.375 kB / 343.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.01115, allocations: 16.31 kB / 343.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.01149, allocations: 233 kB / 343.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01151, allocations: 3.938 kB / 343.6 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.01153, allocations: 8 kB / 343.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01153, allocations: 0 / 343.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.01182, allocations: 155.3 kB / 343.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009074/0.01273, allocations: 432.1 kB / 344.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.01297, allocations: 153.9 kB / 344.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.01313, allocations: 120.2 kB / 344.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.01316, allocations: 4 kB / 344.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01319, allocations: 34.59 kB / 344.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.01319, allocations: 4 kB / 344.5 MB, free: 3.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007117/0.0139, allocations: 423.8 kB / 344.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.01395, allocations: 144.5 kB / 345.1 MB, free: 3.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.01431, allocations: 384.5 kB / 345.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01433, allocations: 37.7 kB / 345.5 MB, free: 2.695 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.01442, allocations: 152.1 kB / 345.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.01445, allocations: 31.75 kB / 345.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.01452, allocations: 33.7 kB / 345.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.0146, allocations: 342.8 kB / 346 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.01477, allocations: 111.4 kB / 346.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.01492, allocations: 154.8 kB / 346.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.0152, allocations: 227.6 kB / 346.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.0152, allocations: 8 kB / 346.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000412/0.01561, allocations: 316.2 kB / 346.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.01567, allocations: 63.41 kB / 346.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01568, allocations: 0 / 346.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.0157, allocations: 4 kB / 346.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01581, allocations: 11.98 kB / 346.9 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.01582, allocations: 4 kB / 346.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.01605, allocations: 39.89 kB / 347 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01606, allocations: 7.938 kB / 347 MB, free: 1.094 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.0001426/0.01621, allocations: 217.2 kB / 347.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.01628, allocations: 47.73 kB / 347.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004705/0.01675, allocations: 322.3 kB / 347.5 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01675, allocations: 0 / 347.5 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01676, allocations: 4 kB / 347.5 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01676, allocations: 4 kB / 347.5 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.01696, allocations: 205.2 kB / 347.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01696, allocations: 0 / 347.7 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.01704, allocations: 15.98 kB / 347.8 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01705, allocations: 0 / 347.8 MB, free: 216 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.01706, allocations: 7.984 kB / 347.8 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01707, allocations: 4 kB / 347.8 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01707, allocations: 4 kB / 347.8 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000612/0.01768, allocations: 430 kB / 348.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.01779, allocations: 47.73 kB / 348.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.01783, allocations: 8 kB / 348.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.0181, allocations: 35.95 kB / 348.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.01818, allocations: 15.98 kB / 348.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.0182, allocations: 4 kB / 348.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003761/0.01857, allocations: 283 kB / 348.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01857, allocations: 0 / 348.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.01896, allocations: 75.86 kB / 348.7 MB, free: 15.27 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.002072/0.02103, allocations: 474.8 kB / 349.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.02169, allocations: 373.4 kB / 349.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.0217, allocations: 0 / 349.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.02203, allocations: 246.2 kB / 349.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.02258, allocations: 59.12 kB / 349.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02368, allocations: 0.542 MB / 350.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.02387, allocations: 144.7 kB / 350.5 MB, free: 13.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.02399, allocations: 21.12 kB / 350.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.02406, allocations: 24.5 kB / 350.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.583e-06/0.02406, allocations: 0 / 350.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01075/0.03481, allocations: 3.964 MB / 354.5 MB, free: 9.527 MB / 282.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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.729456854052842]