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.001032/0.001032, allocations: 89.06 kB / 19.65 MB, free: 276 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.001053/0.001053, allocations: 177.3 kB / 23.02 MB, free: 1.543 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.111/1.111, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.02865/0.02865, allocations: 6.488 MB / 266.4 MB, free: 6.637 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.342e-06/1.342e-06, allocations: 0 / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.238e-05, allocations: 4.703 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.001817/0.001829, allocations: 1.923 MB / 340 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003222, allocations: 1.749 MB / 341.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.003282, allocations: 0 / 341.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.003465, allocations: 107.5 kB / 341.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.003718, allocations: 175.1 kB / 342 MB, free: 6.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.003938, allocations: 175.6 kB / 342.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.004152, allocations: 295.2 kB / 342.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.022e-05/0.004222, allocations: 36.5 kB / 342.5 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.004383, allocations: 147.7 kB / 342.7 MB, free: 6.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004492, allocations: 119.7 kB / 342.8 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004515, allocations: 20 kB / 342.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.004617, allocations: 119.8 kB / 342.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.004654, allocations: 55.77 kB / 343 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.004694, allocations: 67.77 kB / 343 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004902, allocations: 267 kB / 343.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004905, allocations: 4 kB / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004905, allocations: 0 / 343.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.004912, allocations: 0 / 343.3 MB, free: 5.555 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.0007323/0.005644, allocations: 0.6544 MB / 344 MB, free: 4.852 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.005698, allocations: 12.03 kB / 344 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.313e-05/0.005781, allocations: 40.75 kB / 344 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.006011, allocations: 232.6 kB / 344.2 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.006025, allocations: 12.38 kB / 344.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.006043, allocations: 8.375 kB / 344.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.006278, allocations: 231.4 kB / 344.5 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006289, allocations: 3.938 kB / 344.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.006305, allocations: 4 kB / 344.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.006313, allocations: 0 / 344.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.578e-05/0.006399, allocations: 107.3 kB / 344.6 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.006867, allocations: 467.4 kB / 345.1 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.006978, allocations: 130.4 kB / 345.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.007037, allocations: 91.08 kB / 345.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.007059, allocations: 7.984 kB / 345.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.007078, allocations: 37.39 kB / 345.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.007079, allocations: 0 / 345.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002871/0.007366, allocations: 347.9 kB / 345.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.007399, allocations: 140.5 kB / 345.8 MB, free: 2.781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.007607, allocations: 358.3 kB / 346.1 MB, free: 2.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.007618, allocations: 29.7 kB / 346.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.00769, allocations: 214.7 kB / 346.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.007719, allocations: 35.73 kB / 346.4 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.007762, allocations: 35.38 kB / 346.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.007841, allocations: 0.5117 MB / 347 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.007911, allocations: 91.31 kB / 347 MB, free: 1.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/0.007976, allocations: 132.5 kB / 347.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.008082, allocations: 182.4 kB / 347.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008085, allocations: 0 / 347.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.008263, allocations: 264.2 kB / 347.6 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.008296, allocations: 67.39 kB / 347.7 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.0083, allocations: 4.031 kB / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.008315, allocations: 0 / 347.7 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.008382, allocations: 12 kB / 347.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.008387, allocations: 0 / 347.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.008455, allocations: 19.98 kB / 347.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.008467, allocations: 11.94 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.969e-05/0.008547, allocations: 224 kB / 347.9 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.008583, allocations: 39.81 kB / 348 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.008786, allocations: 274.3 kB / 348.3 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.008787, allocations: 4 kB / 348.3 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.008792, allocations: 3.984 kB / 348.3 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008795, allocations: 4 kB / 348.3 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.008992, allocations: 220.4 kB / 348.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008993, allocations: 4 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.009028, allocations: 8 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00903, allocations: 0 / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.009042, allocations: 8 kB / 348.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.009045, allocations: 4 kB / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.009047, allocations: 3.984 kB / 348.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.009335, allocations: 426.8 kB / 348.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.009755, allocations: 47.78 kB / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.00978, allocations: 4 kB / 349 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.009871, allocations: 15.98 kB / 349 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.009933, allocations: 19.98 kB / 349 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.009941, allocations: 4 kB / 349 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.0101, allocations: 251 kB / 349.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0101, allocations: 0 / 349.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01032, allocations: 71.8 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.0008626/0.01118, allocations: 458.2 kB / 349.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.01143, allocations: 321.2 kB / 350.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01143, allocations: 0 / 350.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01154, 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.0002424/0.01179, allocations: 54.66 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.0006621/0.01245, 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.407e-05/0.0125, allocations: 83.67 kB / 350.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.01256, allocations: 21.44 kB / 350.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.0126, allocations: 28.44 kB / 351 MB, free: 13.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0126, allocations: 0 / 351 MB, free: 13.31 MB / 282.7 MB Notification: Performance of Templates: time 0.005822/0.01842, allocations: 4.174 MB / 355.1 MB, free: 9.168 MB / 282.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.9593566828407347]