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.0009467/0.0009467, allocations: 93.06 kB / 19.65 MB, free: 280 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.001078/0.001078, allocations: 169 kB / 23.02 MB, free: 1.551 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.9347/0.9347, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.02657/0.02657, allocations: 6.476 MB / 266.4 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 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.695e-06/2.695e-06, allocations: 0 / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.331e-05, allocations: 2.312 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002009/0.002032, allocations: 1.926 MB / 340 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.003417, allocations: 1.745 MB / 341.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.003507, allocations: 7.938 kB / 341.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.003771, allocations: 107.5 kB / 341.8 MB, free: 7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.004118, allocations: 171.1 kB / 342 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.004407, allocations: 183.6 kB / 342.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.004653, allocations: 295.2 kB / 342.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.004747, allocations: 20.58 kB / 342.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.00495, allocations: 159.6 kB / 342.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.00509, allocations: 119.7 kB / 342.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.005116, allocations: 16 kB / 342.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.005258, allocations: 119.8 kB / 342.9 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.005312, allocations: 51.78 kB / 343 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.005365, allocations: 67.77 kB / 343 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.00563, allocations: 271 kB / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.005633, allocations: 0 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005634, allocations: 0 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.005639, allocations: 3.938 kB / 343.3 MB, free: 5.551 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.0004762/0.006115, allocations: 0.6622 MB / 343.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.006146, allocations: 8.031 kB / 344 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.006206, allocations: 44.75 kB / 344 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.006402, allocations: 232.6 kB / 344.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.006416, allocations: 4.375 kB / 344.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006435, allocations: 16.38 kB / 344.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.006631, allocations: 227.3 kB / 344.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.006643, allocations: 3.938 kB / 344.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.006657, allocations: 8 kB / 344.5 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.006664, allocations: 4 kB / 344.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.006745, allocations: 99.36 kB / 344.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.007209, allocations: 471.3 kB / 345 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.225e-05/0.007301, allocations: 122.5 kB / 345.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.007357, allocations: 103 kB / 345.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.00738, allocations: 4 kB / 345.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.007396, allocations: 33.39 kB / 345.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.007398, allocations: 0 / 345.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002837/0.007681, allocations: 355.8 kB / 345.6 MB, free: 2.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.007708, allocations: 136.5 kB / 345.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.007905, allocations: 358.3 kB / 346.1 MB, free: 2.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.007916, allocations: 25.7 kB / 346.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.007975, allocations: 214.7 kB / 346.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.007998, allocations: 35.73 kB / 346.4 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.008038, allocations: 39.38 kB / 346.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.67e-05/0.008084, allocations: 0.5117 MB / 346.9 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.008135, allocations: 83.38 kB / 347 MB, free: 1.461 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.543e-05/0.008191, allocations: 132.5 kB / 347.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.00828, allocations: 190.4 kB / 347.3 MB, free: 1.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.008282, allocations: 0 / 347.3 MB, free: 1.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000156/0.008438, allocations: 264.3 kB / 347.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.008464, allocations: 63.39 kB / 347.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.008468, allocations: 4.031 kB / 347.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.008488, allocations: 4 kB / 347.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.94e-05/0.008557, allocations: 15.94 kB / 347.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008561, allocations: 0 / 347.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.008632, allocations: 19.98 kB / 347.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.008641, allocations: 7.938 kB / 347.7 MB, free: 0.6758 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.697e-05/0.008708, allocations: 224 kB / 347.9 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.008746, allocations: 43.81 kB / 348 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.008938, allocations: 274.3 kB / 348.2 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00894, allocations: 8 kB / 348.3 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.008942, allocations: 0 / 348.3 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.008946, allocations: 4 kB / 348.3 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.009361, allocations: 216.4 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.009362, allocations: 0 / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.009402, allocations: 12 kB / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009404, allocations: 0 / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.009415, allocations: 4 kB / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009417, allocations: 0 / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009417, allocations: 0 / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.009669, allocations: 434.4 kB / 348.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.009728, allocations: 51.72 kB / 349 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.009754, allocations: 8 kB / 349 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.009838, allocations: 19.98 kB / 349 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.009893, allocations: 15.98 kB / 349 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.009901, allocations: 4 kB / 349 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001503/0.01005, allocations: 251 kB / 349.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 349.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002144/0.01027, allocations: 71.8 kB / 349.3 MB, free: 14.94 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.0008247/0.01109, allocations: 461.7 kB / 349.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01134, allocations: 321.1 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.01135, allocations: 4 kB / 350.1 MB, free: 14.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.01146, allocations: 221.8 kB / 350.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01172, allocations: 56.58 kB / 350.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007242/0.01245, allocations: 475 kB / 350.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.975e-05/0.0125, allocations: 87.67 kB / 350.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.01255, allocations: 29.42 kB / 350.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.01259, allocations: 20.5 kB / 351 MB, free: 13.3 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01259, allocations: 0 / 351 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005434/0.01803, allocations: 3.974 MB / 354.9 MB, free: 9.348 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.8027012273669243]