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.001226/0.001226, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001781/0.001781, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.02663/0.02663, allocations: 6.482 MB / 267.5 MB, free: 6.48 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 1.433e-06/1.433e-06, allocations: 0 / 339.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.7e-05, allocations: 2.312 kB / 339.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002194/0.002211, allocations: 1.918 MB / 341.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003644, allocations: 1.738 MB / 342.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.029e-05/0.003734, allocations: 0 / 342.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.003991, allocations: 111.5 kB / 343.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.004315, allocations: 175.1 kB / 343.2 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.00459, allocations: 175.5 kB / 343.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004829, allocations: 299.2 kB / 343.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.004923, allocations: 24.58 kB / 343.7 MB, free: 6.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.005113, allocations: 151.6 kB / 343.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005252, allocations: 127.7 kB / 344 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.005275, allocations: 16 kB / 344 MB, free: 5.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.0054, allocations: 119.8 kB / 344.1 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.005458, allocations: 47.8 kB / 344.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.005507, allocations: 67.77 kB / 344.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.005746, allocations: 271 kB / 344.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.005747, allocations: 0 / 344.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005748, allocations: 0 / 344.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.005753, allocations: 0 / 344.5 MB, free: 5.305 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.0004763/0.006229, allocations: 0.6699 MB / 345.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.006258, allocations: 12.03 kB / 345.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.006309, allocations: 40.75 kB / 345.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.006493, allocations: 224.7 kB / 345.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.006505, allocations: 12.38 kB / 345.4 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.006518, allocations: 8.375 kB / 345.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.006692, allocations: 223.3 kB / 345.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006702, allocations: 3.938 kB / 345.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.006714, allocations: 7.984 kB / 345.7 MB, free: 4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.00672, allocations: 4 kB / 345.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.892e-05/0.006779, allocations: 87.38 kB / 345.8 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.007248, allocations: 419.9 kB / 346.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.007331, allocations: 114.4 kB / 346.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.007381, allocations: 91.06 kB / 346.4 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.007399, allocations: 4 kB / 346.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.007417, allocations: 45.38 kB / 346.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.007418, allocations: 4 kB / 346.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002382/0.007657, allocations: 339.9 kB / 346.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.007687, allocations: 132.5 kB / 346.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.007847, allocations: 346.3 kB / 347.2 MB, free: 2.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.007856, allocations: 29.7 kB / 347.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.007921, allocations: 214.7 kB / 347.5 MB, free: 2.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.007945, allocations: 35.69 kB / 347.5 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.007987, allocations: 43.34 kB / 347.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.008046, allocations: 0.5156 MB / 348.1 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.008082, allocations: 71.39 kB / 348.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.004e-05/0.008132, allocations: 132.4 kB / 348.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.008204, allocations: 174.5 kB / 348.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008206, allocations: 0 / 348.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001439/0.00835, allocations: 264.2 kB / 348.7 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.008374, allocations: 63.41 kB / 348.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.008377, allocations: 0 / 348.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.008385, allocations: 0 / 348.8 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.008435, allocations: 15.98 kB / 348.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.008437, allocations: 0 / 348.8 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.008507, allocations: 15.98 kB / 348.8 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.008517, allocations: 12 kB / 348.8 MB, free: 0.5625 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 7.038e-05/0.008587, allocations: 231.8 kB / 349 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.008624, allocations: 39.81 kB / 349.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.008804, allocations: 270.5 kB / 349.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008806, allocations: 0 / 349.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008808, allocations: 0 / 349.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.008812, allocations: 0 / 349.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.008972, allocations: 176.9 kB / 349.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008974, allocations: 0 / 349.5 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.009008, allocations: 15.92 kB / 349.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.009011, allocations: 8 kB / 349.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.00902, allocations: 4 kB / 349.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.009021, allocations: 0 / 349.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009022, allocations: 0 / 349.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.009261, allocations: 422.8 kB / 349.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.009319, allocations: 39.8 kB / 350 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.009345, allocations: 11.98 kB / 350 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.009427, allocations: 15.98 kB / 350 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.009475, allocations: 19.98 kB / 350 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.009483, allocations: 8 kB / 350 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.009645, allocations: 238.9 kB / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009645, allocations: 0 / 350.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.009854, allocations: 63.88 kB / 350.3 MB, free: 14.91 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.0008516/0.01071, allocations: 454.7 kB / 350.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.01093, allocations: 313.2 kB / 351.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01093, allocations: 4 kB / 351.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.0111, allocations: 213.9 kB / 351.3 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01135, allocations: 56.52 kB / 351.4 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01198, allocations: 474.9 kB / 351.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.671e-05/0.01203, allocations: 91.67 kB / 351.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01208, allocations: 13.14 kB / 351.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.01222, allocations: 130.2 kB / 352 MB, free: 13.19 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01223, allocations: 0 / 352 MB, free: 13.19 MB / 282.7 MB Notification: Performance of Templates: time 0.006155/0.01838, allocations: 4.284 MB / 356.3 MB, free: 8.934 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=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.954639368224889]