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.0009988/0.0009988, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001063/0.001063, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9316/0.9316, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.0245/0.0245, allocations: 6.474 MB / 266.4 MB, free: 6.852 MB / 250.7 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.236e-06/3.236e-06, allocations: 0 / 392.9 MB, free: 4.043 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.311e-05, allocations: 5.656 kB / 392.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002726/0.002759, allocations: 1.861 MB / 394.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.004745, allocations: 1.699 MB / 396.5 MB, free: 472 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004875, allocations: 0 / 396.5 MB, free: 472 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.005192, allocations: 115.4 kB / 396.6 MB, free: 356 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.005671, allocations: 175.1 kB / 396.7 MB, free: 180 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.006101, allocations: 183.1 kB / 396.9 MB, free: 0 / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.006511, allocations: 295.3 kB / 397.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.006659, allocations: 28.56 kB / 397.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.006978, allocations: 155.5 kB / 397.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.007174, allocations: 115.7 kB / 397.5 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.007206, allocations: 20 kB / 397.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.007411, allocations: 115.8 kB / 397.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.007486, allocations: 55.77 kB / 397.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.00756, allocations: 71.77 kB / 397.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004885/0.008048, allocations: 342.9 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.008053, allocations: 3.938 kB / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.008055, allocations: 0 / 398.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.008062, allocations: 4 kB / 398.1 MB, free: 14.81 MB / 330.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.0007981/0.00886, allocations: 0.5583 MB / 398.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.008904, allocations: 12.03 kB / 398.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.998e-05/0.008974, allocations: 32.75 kB / 398.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.009266, allocations: 229.8 kB / 398.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.009281, allocations: 12.38 kB / 398.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.009299, allocations: 8.375 kB / 399 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.009899, allocations: 233 kB / 399.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.009911, allocations: 3.938 kB / 399.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.009927, allocations: 4 kB / 399.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.009933, allocations: 4 kB / 399.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.01011, allocations: 155.3 kB / 399.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006648/0.01078, allocations: 436 kB / 399.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.01096, allocations: 153.9 kB / 399.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.01107, allocations: 120.2 kB / 400 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.0111, allocations: 4 kB / 400 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.01113, allocations: 34.56 kB / 400.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.01113, allocations: 0 / 400.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004804/0.01161, allocations: 423.8 kB / 400.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.01168, allocations: 132.5 kB / 400.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.012, allocations: 392.5 kB / 401 MB, free: 11.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01202, allocations: 25.7 kB / 401 MB, free: 11.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.0121, allocations: 156.1 kB / 401.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.01214, allocations: 35.75 kB / 401.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.01219, allocations: 37.7 kB / 401.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.01228, allocations: 338.7 kB / 401.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.0124, allocations: 115.4 kB / 401.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.01252, allocations: 155.1 kB / 401.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01272, allocations: 235.7 kB / 402.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.01272, allocations: 0 / 402.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.01301, allocations: 312.3 kB / 402.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.01306, allocations: 67.39 kB / 402.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.01306, allocations: 3.984 kB / 402.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01308, allocations: 0 / 402.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.01315, allocations: 19.92 kB / 402.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01316, allocations: 4 kB / 402.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.01327, allocations: 43.86 kB / 402.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.01328, allocations: 7.938 kB / 402.5 MB, free: 9.988 MB / 330.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.0001358/0.01342, allocations: 217.2 kB / 402.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.01345, allocations: 27.86 kB / 402.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.01378, allocations: 322.3 kB / 403.1 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.01379, allocations: 4 kB / 403.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01379, allocations: 0 / 403.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.0138, allocations: 0 / 403.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01397, allocations: 205.1 kB / 403.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01397, allocations: 0 / 403.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.01401, allocations: 19.98 kB / 403.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01402, allocations: 0 / 403.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01403, allocations: 8 kB / 403.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01403, allocations: 0 / 403.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01403, allocations: 0 / 403.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01434, allocations: 429.9 kB / 403.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.0144, allocations: 39.77 kB / 403.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.01442, allocations: 8 kB / 403.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01453, allocations: 35.97 kB / 403.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.0146, allocations: 11.98 kB / 403.8 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01461, allocations: 8 kB / 403.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000192/0.0148, allocations: 291 kB / 404.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0148, allocations: 3.938 kB / 404.1 MB, free: 8.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.01503, allocations: 67.86 kB / 404.2 MB, free: 8.203 MB / 330.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.0008/0.01583, allocations: 481.8 kB / 404.7 MB, free: 7.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.01619, allocations: 361.4 kB / 405 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.0162, allocations: 0 / 405 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.01635, allocations: 246.1 kB / 405.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01668, allocations: 53.17 kB / 405.3 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.01733, allocations: 0.5553 MB / 405.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.01772, allocations: 148.5 kB / 406 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.01777, allocations: 28.5 kB / 406 MB, free: 6.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.01777, allocations: 0 / 406 MB, free: 6.383 MB / 330.7 MB Notification: Performance of Templates: time 0.004313/0.02208, allocations: 3.797 MB / 409.8 MB, free: 2.586 MB / 330.7 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.946815355680883] Failed to read output from testmodel.py, exit status != 0: 0.028569321148097515 0.19766703800000002 0.187521776 Calling exit ...