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.0008595/0.0008595, allocations: 79.69 kB / 20.02 MB, free: 4.488 MB / 18.57 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.0008907/0.0008907, allocations: 169.9 kB / 23.32 MB, free: 1.188 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 0.8927/0.8927, allocations: 177.1 MB / 203.6 MB, free: 5.703 MB / 186.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.02952/0.02952, allocations: 6.474 MB / 266.5 MB, free: 6.785 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.453e-06/1.453e-06, allocations: 0 / 393.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.652e-05, allocations: 10.22 kB / 393.1 MB, free: 5.117 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002368/0.002384, allocations: 1.853 MB / 395 MB, free: 3.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.004432, allocations: 1.707 MB / 396.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.667e-05/0.004529, allocations: 0 / 396.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.004829, allocations: 111.5 kB / 396.8 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.005171, allocations: 175.1 kB / 396.9 MB, free: 1.254 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.005434, allocations: 179.6 kB / 397.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.005683, allocations: 291.3 kB / 397.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.005779, allocations: 36.5 kB / 397.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.005981, allocations: 159.6 kB / 397.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.006121, allocations: 107.7 kB / 397.7 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.006147, allocations: 23.94 kB / 397.7 MB, free: 480 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.006274, allocations: 127.7 kB / 397.8 MB, free: 352 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.006337, allocations: 47.78 kB / 397.9 MB, free: 304 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.676e-05/0.006393, allocations: 63.78 kB / 398 MB, free: 240 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.006829, allocations: 347 kB / 398.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006831, allocations: 0 / 398.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006832, allocations: 4 kB / 398.3 MB, free: 15.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.006835, allocations: 3.938 kB / 398.3 MB, free: 15.89 MB / 378.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.000506/0.007341, allocations: 0.5583 MB / 398.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.007374, allocations: 12.03 kB / 398.9 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.007421, allocations: 32.75 kB / 398.9 MB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.007626, allocations: 229.8 kB / 399.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.007641, allocations: 8.375 kB / 399.1 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.00766, allocations: 16.36 kB / 399.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.007892, allocations: 240.8 kB / 399.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.0079, allocations: 3.938 kB / 399.4 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.007915, allocations: 8 kB / 399.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.00792, allocations: 4 kB / 399.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.008088, allocations: 159.2 kB / 399.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.008616, allocations: 436.1 kB / 400 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.008767, allocations: 145.9 kB / 400.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.008873, allocations: 120.2 kB / 400.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.008893, allocations: 0 / 400.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.008912, allocations: 34.56 kB / 400.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.008913, allocations: 4.094 kB / 400.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004217/0.009335, allocations: 423.7 kB / 400.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.009383, allocations: 136.5 kB / 400.8 MB, free: 13.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.009661, allocations: 384.5 kB / 401.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.009677, allocations: 33.7 kB / 401.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.009749, allocations: 160 kB / 401.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.009775, allocations: 35.7 kB / 401.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.009816, allocations: 33.7 kB / 401.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003496/0.01017, allocations: 346.8 kB / 401.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.01027, allocations: 103.4 kB / 401.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01039, allocations: 162.8 kB / 402.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.01058, allocations: 227.6 kB / 402.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01058, allocations: 0 / 402.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002515/0.01083, allocations: 304.6 kB / 402.6 MB, free: 11.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.01086, allocations: 63.41 kB / 402.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.01086, allocations: 4 kB / 402.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.01087, allocations: 0 / 402.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.01093, allocations: 15.98 kB / 402.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01093, allocations: 0 / 402.7 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01104, allocations: 43.84 kB / 402.7 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.01105, allocations: 11.94 kB / 402.7 MB, free: 11.07 MB / 378.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.0001211/0.01117, allocations: 213.2 kB / 402.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01121, allocations: 27.86 kB / 402.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.01152, allocations: 342.2 kB / 403.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.01152, allocations: 0 / 403.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01152, allocations: 0 / 403.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01152, allocations: 0 / 403.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01167, allocations: 201.2 kB / 403.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01167, allocations: 3.938 kB / 403.5 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.01171, allocations: 19.92 kB / 403.5 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.01171, allocations: 4 kB / 403.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01172, allocations: 4 kB / 403.5 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01173, allocations: 3.984 kB / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01173, allocations: 0 / 403.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.01202, allocations: 418 kB / 403.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.01207, allocations: 47.7 kB / 404 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.0121, allocations: 8 kB / 404 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01221, allocations: 35.95 kB / 404 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.01227, allocations: 11.98 kB / 404 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.01228, allocations: 8 kB / 404 MB, free: 9.625 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.01247, allocations: 287 kB / 404.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01247, allocations: 0 / 404.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01267, allocations: 67.86 kB / 404.4 MB, free: 9.281 MB / 378.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.0006977/0.01337, allocations: 488.8 kB / 404.9 MB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.01368, allocations: 373.4 kB / 405.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01368, allocations: 0 / 405.2 MB, free: 8.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.01383, allocations: 238.2 kB / 405.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.0141, allocations: 43.69 kB / 405.5 MB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.01469, allocations: 0.5262 MB / 406 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.218e-05/0.01478, allocations: 152.6 kB / 406.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.01484, allocations: 25.44 kB / 406.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.01487, allocations: 28.48 kB / 406.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01487, allocations: 0 / 406.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of Templates: time 0.005196/0.02007, allocations: 3.937 MB / 410.2 MB, free: 3.562 MB / 378.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.8277056869119406] Failed to read output from testmodel.py, exit status != 0: 0.024911195039749146 0.034031539 0.025600047 Calling exit ...