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.001482/0.001482, allocations: 88.22 kB / 19.65 MB, free: 272 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.00109/0.00109, allocations: 177 kB / 23.02 MB, free: 1.539 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.09/1.09, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.0272/0.0272, allocations: 6.487 MB / 266.4 MB, free: 6.625 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.165e-06/2.165e-06, allocations: 0 / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.173e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002111/0.002132, allocations: 1.926 MB / 340 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003686, allocations: 1.745 MB / 341.7 MB, free: 7.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.003778, allocations: 3.938 kB / 341.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.004062, allocations: 107.5 kB / 341.8 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.004446, allocations: 175.1 kB / 342 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.004757, allocations: 179.6 kB / 342.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.005021, allocations: 295.2 kB / 342.5 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005131, allocations: 20.58 kB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.005348, allocations: 163.6 kB / 342.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.005501, allocations: 115.7 kB / 342.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.005527, allocations: 20 kB / 342.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.005677, allocations: 115.8 kB / 342.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.475e-05/0.005742, allocations: 55.77 kB / 343 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.0058, allocations: 67.72 kB / 343 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.006073, allocations: 275 kB / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.006075, allocations: 0 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006076, allocations: 0 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006081, allocations: 4 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.0005658/0.006647, allocations: 0.6544 MB / 343.9 MB, free: 4.848 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.006686, allocations: 12.03 kB / 344 MB, free: 4.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.974e-05/0.006756, allocations: 44.73 kB / 344 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.006966, allocations: 236.6 kB / 344.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.00698, allocations: 8.375 kB / 344.2 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.006996, allocations: 12.38 kB / 344.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.007214, allocations: 219.4 kB / 344.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.007223, allocations: 3.938 kB / 344.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.007237, allocations: 8 kB / 344.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.007246, allocations: 4 kB / 344.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.007331, allocations: 107.4 kB / 344.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.007816, allocations: 451.3 kB / 345 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.972e-05/0.007915, allocations: 126.4 kB / 345.2 MB, free: 3.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.007974, allocations: 103.1 kB / 345.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.007996, allocations: 4 kB / 345.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.008015, allocations: 37.39 kB / 345.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.008016, allocations: 0 / 345.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003139/0.00833, allocations: 359.9 kB / 345.6 MB, free: 2.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.008362, allocations: 136.5 kB / 345.8 MB, free: 2.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.008581, allocations: 354.3 kB / 346.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.008591, allocations: 29.7 kB / 346.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.008661, allocations: 206.7 kB / 346.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.008688, allocations: 35.73 kB / 346.4 MB, free: 2.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.008729, allocations: 43.38 kB / 346.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.008795, allocations: 0.5156 MB / 346.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.008846, allocations: 87.33 kB / 347 MB, free: 1.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.008906, allocations: 128.5 kB / 347.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.009005, allocations: 190.4 kB / 347.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.009007, allocations: 0 / 347.3 MB, free: 1.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000164/0.009171, allocations: 256.3 kB / 347.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.009199, allocations: 67.39 kB / 347.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.009203, allocations: 0 / 347.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.009217, allocations: 7.938 kB / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.009287, allocations: 11.98 kB / 347.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.009295, allocations: 4.031 kB / 347.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.009371, allocations: 19.98 kB / 347.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.009382, allocations: 7.938 kB / 347.7 MB, free: 0.6875 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.525e-05/0.009458, allocations: 228 kB / 347.9 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.009493, allocations: 39.81 kB / 348 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002007/0.009694, allocations: 274.3 kB / 348.2 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009696, allocations: 0 / 348.2 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.009701, allocations: 4 kB / 348.2 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009704, allocations: 0 / 348.2 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.009893, allocations: 228.5 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.009894, allocations: 0 / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.009931, allocations: 11.98 kB / 348.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009934, allocations: 0 / 348.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.009946, allocations: 12 kB / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009948, allocations: 0 / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009949, allocations: 0 / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.01022, allocations: 426.8 kB / 348.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.01027, allocations: 39.8 kB / 348.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.01031, allocations: 8 kB / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.01039, allocations: 23.98 kB / 349 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.01046, allocations: 23.95 kB / 349 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.01047, allocations: 4 kB / 349 MB, free: 15.26 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.01063, allocations: 251 kB / 349.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01063, allocations: 0 / 349.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01085, allocations: 67.81 kB / 349.3 MB, free: 14.95 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.0008449/0.01169, allocations: 458.8 kB / 349.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.01194, allocations: 317.2 kB / 350.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01194, allocations: 0 / 350.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.01206, allocations: 229.8 kB / 350.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.01231, allocations: 58.8 kB / 350.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.01302, allocations: 483 kB / 350.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.01307, allocations: 83.67 kB / 350.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.01313, allocations: 25.44 kB / 350.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.01317, allocations: 28.48 kB / 351 MB, free: 13.3 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01317, allocations: 0 / 351 MB, free: 13.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005586/0.01875, allocations: 4.162 MB / 355.1 MB, free: 9.172 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: 3.0620200326666236]