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.0009734/0.0009734, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009663/0.0009663, allocations: 173 kB / 23.49 MB, free: 1.059 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.9891/0.9891, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.02993/0.02993, allocations: 6.464 MB / 266.7 MB, free: 6.707 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.956e-06/2.956e-06, allocations: 0 / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.234e-05, allocations: 4.703 kB / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003228/0.003261, allocations: 1.908 MB / 340 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.005544, allocations: 1.745 MB / 341.7 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.005654, allocations: 7.938 kB / 341.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.005962, allocations: 103.5 kB / 341.8 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.006401, allocations: 167.1 kB / 342 MB, free: 7.188 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.006779, allocations: 187.6 kB / 342.2 MB, free: 7.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.007098, allocations: 291.2 kB / 342.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.007213, allocations: 24.56 kB / 342.5 MB, free: 6.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.007466, allocations: 159.6 kB / 342.7 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.007642, allocations: 119.7 kB / 342.8 MB, free: 6.422 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.007674, allocations: 16 kB / 342.8 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.007839, allocations: 119.8 kB / 342.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.007907, allocations: 51.8 kB / 343 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.007979, allocations: 71.77 kB / 343 MB, free: 6.168 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.00832, allocations: 267 kB / 343.3 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.008324, allocations: 4 kB / 343.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008325, allocations: 0 / 343.3 MB, free: 5.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.00833, allocations: 0 / 343.3 MB, free: 5.902 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.0005919/0.008922, allocations: 0.6621 MB / 343.9 MB, free: 5.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.008958, allocations: 8.031 kB / 344 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.009047, allocations: 44.75 kB / 344 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.009306, allocations: 232.6 kB / 344.2 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.009322, allocations: 8.359 kB / 344.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.009345, allocations: 20.38 kB / 344.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.009614, allocations: 222.5 kB / 344.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.009625, allocations: 3.938 kB / 344.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.009643, allocations: 8 kB / 344.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009652, allocations: 8 kB / 344.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.009776, allocations: 103.4 kB / 344.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.01043, allocations: 463.3 kB / 345 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.01057, allocations: 126.4 kB / 345.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.817e-05/0.01065, allocations: 103.1 kB / 345.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.01068, allocations: 0 / 345.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.0107, allocations: 37.39 kB / 345.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.0107, allocations: 0 / 345.3 MB, free: 3.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004314/0.01113, allocations: 351.8 kB / 345.6 MB, free: 3.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.01117, allocations: 140.5 kB / 345.8 MB, free: 3.117 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.01147, allocations: 354.3 kB / 346.1 MB, free: 2.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.01149, allocations: 33.7 kB / 346.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.01157, allocations: 210.7 kB / 346.4 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.01161, allocations: 35.73 kB / 346.4 MB, free: 2.473 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.01167, allocations: 39.38 kB / 346.4 MB, free: 2.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.01173, allocations: 0.5117 MB / 347 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.01181, allocations: 83.38 kB / 347 MB, free: 1.809 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.0119, allocations: 132.5 kB / 347.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01204, allocations: 190.4 kB / 347.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01204, allocations: 0 / 347.4 MB, free: 1.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002544/0.0123, allocations: 260.3 kB / 347.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.01233, allocations: 67.39 kB / 347.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01234, allocations: 4.031 kB / 347.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01235, allocations: 4 kB / 347.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.01244, allocations: 11.94 kB / 347.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.01245, allocations: 0 / 347.7 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01257, allocations: 19.98 kB / 347.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01258, allocations: 11.92 kB / 347.7 MB, free: 1.023 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 9.465e-05/0.01268, allocations: 224 kB / 347.9 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.01274, allocations: 39.81 kB / 348 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.01304, allocations: 282.4 kB / 348.3 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01305, allocations: 4 kB / 348.3 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01305, allocations: 7.984 kB / 348.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01306, allocations: 0 / 348.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01325, allocations: 212.4 kB / 348.5 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01326, allocations: 0 / 348.5 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.01332, allocations: 12 kB / 348.5 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01332, allocations: 0 / 348.5 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.01334, allocations: 8 kB / 348.5 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01334, allocations: 3.984 kB / 348.5 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01334, allocations: 0 / 348.5 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.01372, allocations: 430.5 kB / 348.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.01381, allocations: 51.72 kB / 349 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.01385, allocations: 4 kB / 349 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.01401, allocations: 15.98 kB / 349 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.086e-05/0.01408, allocations: 15.98 kB / 349 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01409, allocations: 8 kB / 349 MB, free: 15.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002277/0.01432, allocations: 251 kB / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01432, allocations: 0 / 349.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.01465, allocations: 71.8 kB / 349.3 MB, free: 15.29 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.001156/0.01581, allocations: 457.9 kB / 349.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.01615, allocations: 321.1 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01616, allocations: 0 / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01634, allocations: 229.8 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.01673, allocations: 58.81 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000962/0.01769, allocations: 483 kB / 350.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.01776, allocations: 83.67 kB / 350.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.851e-05/0.01784, allocations: 21.12 kB / 350.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.01789, allocations: 24.5 kB / 351 MB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01789, allocations: 0 / 351 MB, free: 13.65 MB / 282.7 MB Notification: Performance of Templates: time 0.007606/0.02549, allocations: 3.974 MB / 354.9 MB, free: 9.695 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.8845167600084096]