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.0009251/0.0009251, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.000954/0.000954, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9022/0.9022, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.02598/0.02598, allocations: 6.5 MB / 266.8 MB, free: 6.496 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 1.402e-06/1.402e-06, allocations: 0 / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.287e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00205/0.002063, allocations: 1.911 MB / 287.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.0037, allocations: 1.769 MB / 288.9 MB, free: 292 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.489e-05/0.003785, allocations: 3.938 kB / 288.9 MB, free: 288 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.004033, allocations: 115.5 kB / 289.1 MB, free: 172 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003276/0.00436, allocations: 171.2 kB / 289.2 MB, free: 0 / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.004828, allocations: 170.8 kB / 289.4 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.005197, allocations: 295.5 kB / 289.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.005289, allocations: 25.77 kB / 289.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.005539, allocations: 160.4 kB / 289.9 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.005711, allocations: 109.6 kB / 290 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.00574, allocations: 17.28 kB / 290 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.005929, allocations: 119.9 kB / 290.1 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.005987, allocations: 53.3 kB / 290.2 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.006044, allocations: 67.7 kB / 290.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.006341, allocations: 271.6 kB / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006344, allocations: 1.25 kB / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006345, allocations: 0 / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.00635, allocations: 0.875 kB / 290.5 MB, free: 19.3 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.000447/0.006797, allocations: 0.5199 MB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.006825, allocations: 10.38 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.006879, allocations: 32.86 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.007058, allocations: 213.2 kB / 291.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.00707, allocations: 11.44 kB / 291.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.007087, allocations: 9.812 kB / 291.3 MB, free: 18.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.007253, allocations: 214.3 kB / 291.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00726, allocations: 4.125 kB / 291.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.007271, allocations: 11.42 kB / 291.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.007276, allocations: 4.047 kB / 291.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.007336, allocations: 91.94 kB / 291.6 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.007717, allocations: 285 kB / 291.9 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/0.007792, allocations: 110.5 kB / 292 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.007835, allocations: 86.92 kB / 292.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.007852, allocations: 3.078 kB / 292.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.007867, allocations: 35.06 kB / 292.1 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.007868, allocations: 4.5 kB / 292.1 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002015/0.00807, allocations: 298.8 kB / 292.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.008097, allocations: 138.9 kB / 292.5 MB, free: 17.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.008282, allocations: 295 kB / 292.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.008294, allocations: 31.03 kB / 292.9 MB, free: 17.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.00833, allocations: 121.2 kB / 293 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.008354, allocations: 40.56 kB / 293 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.008393, allocations: 35.58 kB / 293 MB, free: 17.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.804e-05/0.008431, allocations: 337.8 kB / 293.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.008472, allocations: 75.2 kB / 293.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.483e-05/0.008517, allocations: 119.3 kB / 293.6 MB, free: 17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.02e-05/0.008597, allocations: 186.1 kB / 293.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008599, allocations: 3.469 kB / 293.8 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001161/0.008715, allocations: 220.6 kB / 294 MB, free: 16.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.00874, allocations: 63.17 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.008744, allocations: 0 / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.008753, allocations: 1 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.008805, allocations: 11.77 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.008809, allocations: 4.75 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.008876, allocations: 23.52 kB / 294.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.008884, allocations: 4.438 kB / 294.1 MB, free: 16.64 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 6.361e-05/0.008948, allocations: 186.2 kB / 294.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.008984, allocations: 36.39 kB / 294.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.009132, allocations: 242.4 kB / 294.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.009134, allocations: 4.25 kB / 294.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.009135, allocations: 0 / 294.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.009138, allocations: 1.906 kB / 294.5 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.009265, allocations: 133.6 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.009266, allocations: 0.6562 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.009296, allocations: 16.2 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009297, allocations: 4.219 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.009307, allocations: 6.938 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.009308, allocations: 1.375 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.009309, allocations: 1.062 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.009456, allocations: 328.2 kB / 295 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.009501, allocations: 35.08 kB / 295 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.009525, allocations: 8.672 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.009599, allocations: 16.81 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.009642, allocations: 16.95 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.009649, allocations: 6.281 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.009749, allocations: 123.8 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009749, allocations: 0.7812 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.009936, allocations: 69.67 kB / 295.3 MB, free: 15.9 MB / 266.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.001054/0.01099, allocations: 0.5652 MB / 295.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01115, allocations: 302.5 kB / 296.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.01115, allocations: 3.406 kB / 296.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.01123, allocations: 216.6 kB / 296.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01143, allocations: 48.12 kB / 296.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.01199, allocations: 488.2 kB / 296.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.16e-05/0.01203, allocations: 84.58 kB / 297 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.01208, allocations: 19.98 kB / 297 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.01219, allocations: 112.1 kB / 297.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.01219, allocations: 0 / 297.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Templates: time 0.005612/0.01781, allocations: 4.153 MB / 301.2 MB, free: 13.92 MB / 266.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: 2.506060095038265]