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.001436/0.001436, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001454/0.001454, allocations: 163.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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.0414/0.0414, allocations: 6.513 MB / 265.7 MB, free: 10.23 MB / 254.1 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 3.697e-06/3.697e-06, allocations: 0 / 392.1 MB, free: 9.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.402e-05, allocations: 2.281 kB / 392.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003623/0.003657, allocations: 1.863 MB / 394 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.006834, allocations: 1.699 MB / 395.7 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.006981, allocations: 4 kB / 395.7 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.007365, allocations: 119.4 kB / 395.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.007946, allocations: 163.2 kB / 396 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005935/0.008539, allocations: 187.2 kB / 396.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.008997, allocations: 299.1 kB / 396.5 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.009132, allocations: 28.56 kB / 396.5 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.009444, allocations: 151.6 kB / 396.6 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.009676, allocations: 111.7 kB / 396.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.527e-05/0.009722, allocations: 20 kB / 396.8 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.009967, allocations: 123.8 kB / 396.9 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.01007, allocations: 55.7 kB / 396.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.01017, allocations: 67.77 kB / 397 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004956/0.01067, allocations: 347 kB / 397.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.01067, allocations: 0 / 397.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.01068, allocations: 4 kB / 397.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.01068, allocations: 0 / 397.4 MB, free: 4.492 MB / 318.1 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.0009337/0.01162, allocations: 0.5582 MB / 397.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.01166, allocations: 12.03 kB / 397.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.01175, allocations: 32.75 kB / 398 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.01212, allocations: 221.8 kB / 398.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.01214, allocations: 8.375 kB / 398.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.01216, allocations: 12.38 kB / 398.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.01259, allocations: 243.8 kB / 398.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.0126, allocations: 3.938 kB / 398.4 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.01262, allocations: 8 kB / 398.4 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01263, allocations: 4 kB / 398.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.01296, allocations: 151.3 kB / 398.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01396, allocations: 436 kB / 399 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.01425, allocations: 149.9 kB / 399.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.01446, allocations: 120.2 kB / 399.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.01449, allocations: 7.984 kB / 399.3 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.01453, allocations: 42.58 kB / 399.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.01453, allocations: 0 / 399.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008197/0.01535, allocations: 415.8 kB / 399.7 MB, free: 1.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.01546, allocations: 144.4 kB / 399.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.01593, allocations: 388.5 kB / 400.3 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.01596, allocations: 29.7 kB / 400.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.01609, allocations: 152.3 kB / 400.4 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.01613, allocations: 39.73 kB / 400.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.01621, allocations: 33.72 kB / 400.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.01637, allocations: 342.7 kB / 400.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.01657, allocations: 111.4 kB / 401 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.01681, allocations: 162.8 kB / 401.1 MB, free: 412 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.01718, allocations: 227.6 kB / 401.3 MB, free: 156 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01719, allocations: 0 / 401.3 MB, free: 156 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005674/0.01775, allocations: 312.2 kB / 401.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.724e-05/0.01782, allocations: 63.39 kB / 401.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01783, allocations: 0 / 401.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01785, allocations: 0 / 401.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01797, allocations: 15.98 kB / 401.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.01797, allocations: 4 kB / 401.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.01821, allocations: 39.86 kB / 401.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.01823, allocations: 11.94 kB / 401.8 MB, free: 15.67 MB / 334.1 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.0002468/0.01848, allocations: 217.8 kB / 402 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.01855, allocations: 27.86 kB / 402 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006094/0.01916, allocations: 326.4 kB / 402.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.01916, allocations: 4 kB / 402.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01917, allocations: 0 / 402.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01917, allocations: 96 / 402.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.01943, allocations: 201.1 kB / 402.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01943, allocations: 8 kB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.01951, allocations: 19.92 kB / 402.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01952, allocations: 0 / 402.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.01953, allocations: 8 kB / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01954, allocations: 0 / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01954, allocations: 320 / 402.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.02013, allocations: 426 kB / 403 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.02022, allocations: 43.7 kB / 403 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.02027, allocations: 8 kB / 403 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.02052, allocations: 35.97 kB / 403.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.02059, allocations: 11.98 kB / 403.1 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.02061, allocations: 11.98 kB / 403.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.02093, allocations: 287 kB / 403.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02093, allocations: 0 / 403.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.02129, allocations: 67.86 kB / 403.4 MB, free: 13.88 MB / 334.1 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.001739/0.02303, allocations: 490.6 kB / 403.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006018/0.02363, allocations: 365.4 kB / 404.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.02363, allocations: 0 / 404.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.02393, allocations: 238.2 kB / 404.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.02442, allocations: 45.28 kB / 404.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009476/0.02537, allocations: 0.5224 MB / 405.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.02554, allocations: 152.5 kB / 405.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.617e-05/0.02563, allocations: 33.42 kB / 405.3 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.02569, allocations: 16.5 kB / 405.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02569, allocations: 0 / 405.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of Templates: time 0.008947/0.03463, allocations: 3.938 MB / 409.2 MB, free: 8.168 MB / 334.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5356686897575855] Failed to read output from testmodel.py, exit status != 0: 0.043746042996644974 0.062082164 0.046941957000000006 Calling exit ...