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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 194.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04567/0.04567, allocations: 8.541 MB / 314.7 MB, free: 300 kB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001974/0.001974, allocations: 67.88 kB / 438.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.101, allocations: 54.2 MB / 492.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003422/0.1044, allocations: 1.873 MB / 494.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1069, allocations: 1.578 MB / 496.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.107, allocations: 0 / 496.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1073, allocations: 107.6 kB / 496.4 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1076, allocations: 123.4 kB / 496.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.1081, allocations: 170.2 kB / 496.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.1085, allocations: 271.3 kB / 497 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1086, allocations: 24.3 kB / 497 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1088, allocations: 107.6 kB / 497.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.109, allocations: 135.5 kB / 497.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.1091, allocations: 16 kB / 497.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1092, allocations: 71.98 kB / 497.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.1093, allocations: 51.77 kB / 497.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1094, allocations: 107.3 kB / 497.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.1098, allocations: 274.8 kB / 497.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1098, allocations: 0 / 497.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1098, allocations: 4 kB / 497.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1098, allocations: 11.88 kB / 497.8 MB, free: 1.254 MB / 350.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.0009416/0.1107, allocations: 0.6027 MB / 498.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1108, allocations: 11.89 kB / 498.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.1109, allocations: 32.73 kB / 498.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1112, allocations: 283.7 kB / 498.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1113, allocations: 8.375 kB / 498.7 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1113, allocations: 16.12 kB / 498.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1117, allocations: 151.3 kB / 498.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1117, allocations: 0 / 498.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1117, allocations: 8 kB / 498.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.1117, allocations: 0 / 498.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.112, allocations: 99.91 kB / 499 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1131, allocations: 0.5042 MB / 499.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.1133, allocations: 90.53 kB / 499.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.1135, allocations: 60.86 kB / 499.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.1135, allocations: 7.969 kB / 499.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1136, allocations: 34.56 kB / 499.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1136, allocations: 0 / 499.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007345/0.1143, allocations: 308.9 kB / 499.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.1144, allocations: 136.5 kB / 0.4884 GB, free: 14.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.1149, allocations: 366.9 kB / 0.4887 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1149, allocations: 33.7 kB / 0.4887 GB, free: 14.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.115, allocations: 148.1 kB / 0.4889 GB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1151, allocations: 35.73 kB / 0.4889 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.1151, allocations: 25.72 kB / 0.4889 GB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1153, allocations: 338.8 kB / 0.4893 GB, free: 13.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1155, allocations: 51.97 kB / 0.4893 GB, free: 13.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1156, allocations: 73.75 kB / 0.4894 GB, free: 13.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.116, allocations: 231.9 kB / 0.4896 GB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.116, allocations: 0 / 0.4896 GB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004713/0.1165, allocations: 245 kB / 0.4898 GB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.1166, allocations: 70.05 kB / 0.4899 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1166, allocations: 80 / 0.4899 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1166, allocations: 3.938 kB / 0.4899 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1167, allocations: 15.98 kB / 0.4899 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1167, allocations: 11.92 kB / 0.4899 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1169, allocations: 35.86 kB / 0.49 GB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.117, allocations: 15.94 kB / 0.49 GB, free: 12.93 MB / 366.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.0002183/0.1172, allocations: 217.7 kB / 0.4902 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.1172, allocations: 23.86 kB / 0.4902 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005462/0.1178, allocations: 274.7 kB / 0.4905 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1178, allocations: 7.938 kB / 0.4905 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1178, allocations: 0 / 0.4905 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1178, allocations: 0 / 0.4905 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1181, allocations: 285.5 kB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1181, allocations: 0 / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.1182, allocations: 15.98 kB / 0.4908 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1182, allocations: 0 / 0.4908 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.1182, allocations: 4 kB / 0.4908 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1182, allocations: 3.938 kB / 0.4908 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1182, allocations: 0 / 0.4908 GB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.1188, allocations: 362.6 kB / 0.4911 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1189, allocations: 120.9 kB / 0.4912 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.119, allocations: 4 kB / 0.4912 GB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.1192, allocations: 35.91 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.1193, allocations: 11.98 kB / 0.4913 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1193, allocations: 8 kB / 0.4913 GB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003036/0.1196, allocations: 269.9 kB / 0.4916 GB, free: 11.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1196, allocations: 4 kB / 0.4916 GB, free: 11.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1199, allocations: 59.88 kB / 0.4916 GB, free: 11.11 MB / 366.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.001446/0.1214, allocations: 391.6 kB / 0.492 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.1219, allocations: 250.6 kB / 0.4922 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1219, allocations: 0 / 0.4922 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.1222, allocations: 182.6 kB / 0.4924 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1227, allocations: 50.98 kB / 0.4925 GB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.1235, allocations: 469.4 kB / 0.4929 GB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1239, allocations: 0.7513 MB / 0.4936 GB, free: 9.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.124, allocations: 21.38 kB / 0.4937 GB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.1241, allocations: 23.42 kB / 0.4937 GB, free: 9.055 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1241, allocations: 0 / 0.4937 GB, free: 9.055 MB / 366.1 MB Notification: Performance of Templates: time 0.007848/0.1319, allocations: 3.357 MB / 0.497 GB, free: 5.715 MB / 366.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 -s cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.782847619149834] Failed to read output from testmodel.py, exit status != 0: 0.13990288972854614 0.156868274 0.043815476000000006 Calling exit ...