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.0006436/0.0006436, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008483/0.001492, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006639/0.0006639, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008015/0.001465, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9896/0.9896, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08392/1.074, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.03316/0.03316, allocations: 6.482 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004626/0.03778, allocations: 2.483 MB / 252.9 MB, free: 5.969 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.934e-06/1.934e-06, allocations: 0 / 254.2 MB, free: 4.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.73e-05, allocations: 2.312 kB / 254.2 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002293/0.00231, allocations: 1.959 MB / 256.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.004412, allocations: 1.789 MB / 257.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.004524, allocations: 0 / 257.9 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.004743, allocations: 111.5 kB / 258 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.005075, allocations: 171.2 kB / 258.2 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.005443, allocations: 187.5 kB / 258.4 MB, free: 496 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.00579, allocations: 287.2 kB / 258.7 MB, free: 208 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.00589, allocations: 30.48 kB / 258.7 MB, free: 176 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.006213, allocations: 221.4 kB / 258.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.006377, allocations: 103.7 kB / 259 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.006404, allocations: 20 kB / 259 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.006609, allocations: 119.8 kB / 259.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.006666, allocations: 43.8 kB / 259.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.006724, allocations: 59.8 kB / 259.2 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.007026, allocations: 239.2 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.007039, allocations: 3.938 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00704, allocations: 0 / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.007052, allocations: 4 kB / 259.5 MB, free: 15.37 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.0005659/0.007618, allocations: 0.5645 MB / 260 MB, free: 14.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.007648, allocations: 15.98 kB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.007696, allocations: 32.91 kB / 260.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.007901, allocations: 213.8 kB / 260.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.007916, allocations: 12.38 kB / 260.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.00793, allocations: 8.375 kB / 260.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.008127, allocations: 217.7 kB / 260.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008136, allocations: 7.875 kB / 260.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.008149, allocations: 11.94 kB / 260.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.008153, allocations: 0 / 260.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.008226, allocations: 103.2 kB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.008655, allocations: 278.8 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.008751, allocations: 106 kB / 261 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.008808, allocations: 88.25 kB / 261.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.008832, allocations: 7.984 kB / 261.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.008852, allocations: 38.56 kB / 261.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.008854, allocations: 0 / 261.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002315/0.009085, allocations: 303.9 kB / 261.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.00911, allocations: 55.41 kB / 261.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.009308, allocations: 296.7 kB / 261.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.009324, allocations: 29.7 kB / 261.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.009369, allocations: 124.7 kB / 262 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.009398, allocations: 39.72 kB / 262 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.009438, allocations: 25.72 kB / 262 MB, free: 12.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.009518, allocations: 342.7 kB / 262.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/0.009569, allocations: 87.38 kB / 262.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-05/0.009632, allocations: 130.8 kB / 262.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.009733, allocations: 174.4 kB / 262.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009735, allocations: 0 / 262.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.009876, allocations: 232.4 kB / 263 MB, free: 11.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.009922, allocations: 63.39 kB / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.009926, allocations: 0 / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.423e-06/0.009932, allocations: 0 / 263 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.01, allocations: 19.98 kB / 263 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/0.01, allocations: 0 / 263 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.01007, allocations: 23.97 kB / 263.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.01008, allocations: 8 kB / 263.1 MB, free: 11.4 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.241e-05/0.01017, allocations: 184 kB / 263.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.01021, allocations: 27.98 kB / 263.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.01041, allocations: 242.3 kB / 263.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01041, allocations: 3.984 kB / 263.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01041, allocations: 0 / 263.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01042, allocations: 3.938 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.01057, allocations: 129.7 kB / 263.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01057, allocations: 4 kB / 263.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.01062, allocations: 12 kB / 263.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.01067, allocations: 43.72 kB / 263.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01068, allocations: 0 / 263.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01069, allocations: 8 kB / 263.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01069, allocations: 0 / 263.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01069, allocations: 0 / 263.7 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.01089, allocations: 342.5 kB / 264.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01092, allocations: 4 kB / 264.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.011, allocations: 19.98 kB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.01104, allocations: 23.97 kB / 264.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.01105, allocations: 4 kB / 264.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.01116, allocations: 119.5 kB / 264.2 MB, free: 10.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01116, allocations: 4 kB / 264.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01138, allocations: 67.86 kB / 264.3 MB, free: 10.07 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.001334/0.01271, allocations: 0.6241 MB / 264.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.01293, allocations: 298.4 kB / 265.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.01293, allocations: 4 kB / 265.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.01304, allocations: 219 kB / 265.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01327, allocations: 72.08 kB / 265.5 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.01428, allocations: 483 kB / 266 MB, free: 8.504 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.01433, allocations: 87.81 kB / 266.1 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.01438, allocations: 25.12 kB / 266.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.01451, allocations: 103.4 kB / 266.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01451, allocations: 0 / 266.2 MB, free: 8.273 MB / 266.7 MB Notification: Performance of Templates: time 0.006257/0.02076, allocations: 4.183 MB / 270.4 MB, free: 4.113 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.494979862123728]