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.001534/0.001534, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001422/0.001422, allocations: 163.6 kB / 22.46 MB, free: 5.359 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.387/1.387, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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.03911/0.03911, allocations: 6.496 MB / 265.7 MB, free: 10.27 MB / 254.1 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.914e-06/1.914e-06, allocations: 0 / 392.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.994e-05, allocations: 5.375 kB / 392.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003165/0.003195, allocations: 1.852 MB / 394 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.005739, allocations: 1.706 MB / 395.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.005827, allocations: 0 / 395.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.006127, allocations: 119.4 kB / 395.8 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.006599, allocations: 167.2 kB / 396 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.007053, allocations: 183.3 kB / 396.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.007436, allocations: 291.2 kB / 396.4 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.007543, allocations: 20.58 kB / 396.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.007834, allocations: 167.5 kB / 396.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.008037, allocations: 115.7 kB / 396.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.008077, allocations: 20 kB / 396.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.008275, allocations: 123.8 kB / 396.9 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.008358, allocations: 59.7 kB / 396.9 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.00845, allocations: 63.78 kB / 397 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.00892, allocations: 342.9 kB / 397.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008924, allocations: 0 / 397.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008925, allocations: 0 / 397.3 MB, free: 4.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008931, allocations: 0 / 397.3 MB, free: 4.516 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.0009459/0.009876, allocations: 0.566 MB / 397.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.009914, allocations: 12.03 kB / 397.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.009987, allocations: 32.75 kB / 397.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.01033, allocations: 225.8 kB / 398.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.01035, allocations: 4.375 kB / 398.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.01038, allocations: 16.38 kB / 398.2 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.01079, allocations: 236 kB / 398.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.01081, allocations: 3.938 kB / 398.4 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.01083, allocations: 8 kB / 398.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.01084, allocations: 0 / 398.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.01118, allocations: 163.3 kB / 398.6 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/0.01215, allocations: 432 kB / 399 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.01242, allocations: 149.9 kB / 399.1 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.01267, allocations: 120.2 kB / 399.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.0127, allocations: 4 kB / 399.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.01273, allocations: 34.56 kB / 399.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.01273, allocations: 0 / 399.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008121/0.01355, allocations: 427.8 kB / 399.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.01365, allocations: 140.5 kB / 399.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.01413, allocations: 388.5 kB / 400.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.01416, allocations: 29.7 kB / 400.3 MB, free: 1.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.01428, allocations: 152.1 kB / 400.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.01433, allocations: 31.75 kB / 400.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.663e-05/0.0144, allocations: 41.58 kB / 400.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.01457, allocations: 342.8 kB / 400.8 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.01477, allocations: 111.4 kB / 400.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.01499, allocations: 159 kB / 401.1 MB, free: 436 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.01537, allocations: 231.6 kB / 401.3 MB, free: 176 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01537, allocations: 0 / 401.3 MB, free: 176 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005247/0.01589, allocations: 312.4 kB / 401.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.01595, allocations: 63.39 kB / 401.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01596, allocations: 3.984 kB / 401.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.01597, allocations: 0 / 401.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.01608, allocations: 19.98 kB / 401.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.01609, allocations: 4 kB / 401.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.01631, allocations: 31.91 kB / 401.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.01633, allocations: 11.75 kB / 401.7 MB, free: 15.69 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.0002069/0.01654, allocations: 217.3 kB / 402 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.01661, allocations: 35.75 kB / 402 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/0.01721, allocations: 322.4 kB / 402.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01721, allocations: 4 kB / 402.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01722, allocations: 0 / 402.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.01722, allocations: 3.984 kB / 402.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.01749, allocations: 205.1 kB / 402.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.01749, allocations: 0 / 402.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.732e-05/0.01758, allocations: 19.92 kB / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.01758, allocations: 0 / 402.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.0176, allocations: 8.094 kB / 402.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.0176, allocations: 3.938 kB / 402.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0176, allocations: 0 / 402.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.0182, allocations: 418.1 kB / 403 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.01831, allocations: 51.72 kB / 403 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.01835, allocations: 4 kB / 403 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.0186, allocations: 31.91 kB / 403 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.01867, allocations: 15.98 kB / 403.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.01869, allocations: 8 kB / 403.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.01903, allocations: 291 kB / 403.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01903, allocations: 4 kB / 403.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.01937, allocations: 67.86 kB / 403.4 MB, free: 13.89 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.001711/0.02108, allocations: 482.5 kB / 403.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.02165, allocations: 361.5 kB / 404.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02166, allocations: 0 / 404.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.02196, allocations: 238.2 kB / 404.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.02244, allocations: 51.78 kB / 404.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009874/0.02343, allocations: 0.5262 MB / 405 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.02361, allocations: 148.6 kB / 405.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.993e-05/0.02369, allocations: 29.42 kB / 405.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.02375, allocations: 24.5 kB / 405.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.02375, allocations: 3.938 kB / 405.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.008849/0.0326, allocations: 3.942 MB / 409.2 MB, free: 8.176 MB / 334.1 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=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.124772850424051] Failed to read output from testmodel.py, exit status != 0: 0.041290707886219025 0.056397792 0.044439804 Calling exit ...