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.000898/0.000898, allocations: 80.75 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.0009095/0.0009095, allocations: 181 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.944/0.944, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02493/0.02493, allocations: 6.483 MB / 266.7 MB, free: 6.508 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.413e-06/1.413e-06, allocations: 0 / 285.2 MB, free: 4 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.52e-05, allocations: 2.312 kB / 285.2 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002081/0.002096, allocations: 1.911 MB / 287.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003641, allocations: 1.773 MB / 288.9 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.003724, allocations: 4 kB / 288.9 MB, free: 296 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.004, allocations: 119.4 kB / 289.1 MB, free: 176 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.004329, allocations: 163.2 kB / 289.2 MB, free: 12 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1172/0.1215, allocations: 180.6 kB / 289.4 MB, free: 19.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.1219, allocations: 289.7 kB / 289.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.122, allocations: 29.77 kB / 289.7 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.1222, allocations: 156.7 kB / 289.9 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1224, allocations: 109.6 kB / 290 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.1224, allocations: 17.25 kB / 290 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1226, allocations: 122.1 kB / 290.1 MB, free: 19.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.1227, allocations: 51.2 kB / 290.1 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.1227, allocations: 67.12 kB / 290.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.123, allocations: 265.6 kB / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.123, allocations: 0 / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.123, allocations: 4.594 kB / 290.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1231, allocations: 0 / 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.0004416/0.1235, allocations: 0.5273 MB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1235, allocations: 10.12 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.1236, allocations: 33.31 kB / 291 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1238, allocations: 203.7 kB / 291.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1238, allocations: 8.469 kB / 291.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1238, allocations: 13.59 kB / 291.3 MB, free: 18.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.124, allocations: 220.1 kB / 291.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.124, allocations: 0 / 291.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.124, allocations: 11.78 kB / 291.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.124, allocations: 5.812 kB / 291.5 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.124, allocations: 93.06 kB / 291.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.1244, allocations: 284.2 kB / 291.9 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.425e-05/0.1245, allocations: 109.8 kB / 292 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.1246, allocations: 90.95 kB / 292.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1246, allocations: 3.312 kB / 292.1 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.1246, allocations: 33.47 kB / 292.1 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1246, allocations: 0 / 292.1 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002122/0.1248, allocations: 307.2 kB / 292.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1248, allocations: 134.2 kB / 292.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.125, allocations: 291.2 kB / 292.8 MB, free: 17.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.125, allocations: 29.73 kB / 292.8 MB, free: 17.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1251, allocations: 129.3 kB / 293 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1251, allocations: 36.78 kB / 293 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1251, allocations: 29.69 kB / 293 MB, free: 17.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.1252, allocations: 338.2 kB / 293.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.1252, allocations: 80 kB / 293.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.1253, allocations: 121 kB / 293.6 MB, free: 17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.646e-05/0.1254, allocations: 182.5 kB / 293.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1254, allocations: 1.469 kB / 293.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.1255, allocations: 221.7 kB / 294 MB, free: 16.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.1255, allocations: 64.81 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1255, allocations: 1.344 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1256, allocations: 1.562 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.733e-05/0.1256, allocations: 12.55 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1256, allocations: 2.609 kB / 294 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.1257, allocations: 18.95 kB / 294.1 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1257, allocations: 8.562 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.855e-05/0.1258, allocations: 183.3 kB / 294.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1258, allocations: 28.36 kB / 294.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.126, allocations: 244.4 kB / 294.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.126, allocations: 4.25 kB / 294.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.126, allocations: 0.7031 kB / 294.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.126, allocations: 0 / 294.5 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1261, allocations: 136.1 kB / 294.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1261, allocations: 0 / 294.6 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.1261, allocations: 19.8 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1261, allocations: 1.219 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1261, allocations: 5.031 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1261, allocations: 4.969 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1261, allocations: 0.875 kB / 294.7 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1263, allocations: 327.9 kB / 295 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1263, allocations: 38.55 kB / 295 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1264, allocations: 5.391 kB / 295 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1264, allocations: 19.94 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.1265, allocations: 15.89 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.1265, allocations: 8.109 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1266, allocations: 126.5 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1266, allocations: 1.562 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.1268, allocations: 69.09 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.001037/0.1278, allocations: 0.5621 MB / 295.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.128, allocations: 306.3 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.128, allocations: 2.281 kB / 296.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.1281, allocations: 212.4 kB / 296.3 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.0001857/0.1283, allocations: 53.3 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.0005823/0.1288, allocations: 484.7 kB / 296.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.1289, allocations: 82.03 kB / 297 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.1289, allocations: 19.73 kB / 297 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.1291, allocations: 112.5 kB / 297.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1291, allocations: 0 / 297.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of Templates: time 0.005901/0.135, allocations: 4.157 MB / 301.2 MB, free: 13.91 MB / 266.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.6305497931316495]