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.001045/0.001045, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002517, allocations: 440 kB / 10.41 MB, free: 284 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.001069/0.001069, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003909/0.004978, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.233/1.233, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1247/1.358, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.02817/0.02817, allocations: 6.474 MB / 250.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007426/0.03559, allocations: 2.476 MB / 253.1 MB, free: 5.859 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.735e-06/2.735e-06, allocations: 0 / 254.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.971e-05, allocations: 2.312 kB / 254.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002911/0.002941, allocations: 1.967 MB / 256.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.005298, allocations: 1.804 MB / 258.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.00542, allocations: 0 / 258.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.005699, allocations: 115.4 kB / 258.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.006104, allocations: 171.1 kB / 258.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.006531, allocations: 183.5 kB / 258.6 MB, free: 328 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006075/0.007138, allocations: 287.3 kB / 258.9 MB, free: 40 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.007264, allocations: 30.48 kB / 258.9 MB, free: 8 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.007648, allocations: 221.4 kB / 259.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.007855, allocations: 103.7 kB / 259.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.007894, allocations: 20 kB / 259.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.008162, allocations: 123.8 kB / 259.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.008241, allocations: 47.8 kB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.008302, allocations: 47.88 kB / 259.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.008679, allocations: 251.1 kB / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.008695, allocations: 0 / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.008696, allocations: 0 / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.008709, allocations: 0 / 259.7 MB, free: 15.21 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.0007681/0.009477, allocations: 0.5761 MB / 260.3 MB, free: 14.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.009519, allocations: 11.98 kB / 260.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.009584, allocations: 32.84 kB / 260.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.009856, allocations: 209.9 kB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.009874, allocations: 12.38 kB / 260.5 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.009897, allocations: 16.38 kB / 260.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.01014, allocations: 213.6 kB / 260.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.01015, allocations: 3.938 kB / 260.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.01017, allocations: 8 kB / 260.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01018, allocations: 8 kB / 260.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.01026, allocations: 99.23 kB / 260.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.01079, allocations: 278.8 kB / 261.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.01091, allocations: 102 kB / 261.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.01098, allocations: 96.23 kB / 261.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.01101, allocations: 11.98 kB / 261.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.01104, allocations: 30.56 kB / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.584e-06/0.01104, allocations: 0 / 261.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002921/0.01134, allocations: 307.9 kB / 261.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.01137, allocations: 55.41 kB / 261.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.01161, allocations: 288.7 kB / 262 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01163, allocations: 29.7 kB / 262.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.01168, allocations: 132.7 kB / 262.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.01172, allocations: 31.73 kB / 262.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.01178, allocations: 33.7 kB / 262.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.01189, allocations: 342.7 kB / 262.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.223e-05/0.01195, allocations: 83.38 kB / 262.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.01202, allocations: 130.8 kB / 262.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.01213, allocations: 178.4 kB / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01214, allocations: 0 / 263 MB, free: 11.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001634/0.0123, allocations: 224.4 kB / 263.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.01236, allocations: 67.39 kB / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01237, allocations: 0 / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01238, allocations: 0 / 263.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.01247, allocations: 15.98 kB / 263.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01247, allocations: 0 / 263.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.01255, allocations: 27.97 kB / 263.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01256, allocations: 4 kB / 263.3 MB, free: 11.24 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 0.0001289/0.01269, allocations: 188 kB / 263.5 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.01273, allocations: 23.98 kB / 263.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.01298, allocations: 250.3 kB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.01298, allocations: 0 / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01298, allocations: 0 / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01298, allocations: 0 / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.01314, allocations: 137.7 kB / 263.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01315, allocations: 4 kB / 263.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.0132, allocations: 8 kB / 263.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.01326, allocations: 39.73 kB / 263.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01326, allocations: 0 / 263.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01327, allocations: 4 kB / 263.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01328, allocations: 4 kB / 263.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01328, allocations: 0 / 263.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01351, allocations: 342.5 kB / 264.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.01354, allocations: 8 kB / 264.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.01364, allocations: 23.97 kB / 264.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.01369, allocations: 19.92 kB / 264.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.0137, allocations: 4 kB / 264.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.01383, allocations: 127.4 kB / 264.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01383, allocations: 0 / 264.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002556/0.01408, allocations: 63.88 kB / 264.5 MB, free: 9.898 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.001692/0.01578, allocations: 0.626 MB / 265.1 MB, free: 9.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.01612, allocations: 302.4 kB / 265.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/0.01613, allocations: 7.938 kB / 265.5 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.0163, allocations: 219 kB / 265.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.01675, allocations: 225.1 kB / 265.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.01823, allocations: 486.6 kB / 266.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.683e-05/0.0183, allocations: 87.81 kB / 266.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.829e-05/0.01837, allocations: 17.12 kB / 266.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.01853, allocations: 107.4 kB / 266.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of SimCode: time 4.969e-06/0.01853, allocations: 0 / 266.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of Templates: time 0.00784/0.02637, allocations: 4.183 MB / 270.8 MB, free: 3.762 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: 3.0046078311279416]