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.001329/0.001329, allocations: 115.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.001436/0.001436, allocations: 194.3 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.637/1.637, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04281/0.04281, allocations: 8.545 MB / 314.7 MB, free: 312 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.001915/0.001915, allocations: 75.86 kB / 438.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1004, allocations: 54.2 MB / 492.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003386/0.1038, allocations: 1.876 MB / 494.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1061, allocations: 1.578 MB / 496.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.1062, allocations: 0 / 496.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1065, allocations: 103.6 kB / 496.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.1068, allocations: 115.4 kB / 496.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.1073, allocations: 177.5 kB / 496.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.1077, allocations: 267.3 kB / 497 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1078, allocations: 28.3 kB / 497 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.108, allocations: 103.6 kB / 497.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1082, allocations: 135.5 kB / 497.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.1083, allocations: 16 kB / 497.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.1085, allocations: 75.97 kB / 497.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.1085, allocations: 47.78 kB / 497.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.1086, allocations: 107.3 kB / 497.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.109, allocations: 286.8 kB / 497.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.109, allocations: 0 / 497.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.109, allocations: 0 / 497.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1091, allocations: 0 / 497.7 MB, free: 1.301 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.0009404/0.11, allocations: 0.6027 MB / 498.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.11, allocations: 19.83 kB / 498.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.1101, allocations: 28.8 kB / 498.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.1106, allocations: 283.7 kB / 498.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1106, allocations: 12.38 kB / 498.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.1106, allocations: 12.12 kB / 498.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.111, allocations: 150 kB / 498.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.111, allocations: 0 / 498.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.1111, allocations: 4 kB / 498.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1111, allocations: 7.938 kB / 498.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.1114, allocations: 107.8 kB / 499 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1126, allocations: 0.5043 MB / 499.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1129, allocations: 86.47 kB / 499.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.113, allocations: 56.83 kB / 499.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1131, allocations: 4 kB / 499.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.1131, allocations: 30.56 kB / 499.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1131, allocations: 0 / 499.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007712/0.1139, allocations: 313 kB / 499.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.114, allocations: 144.5 kB / 0.4884 GB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1144, allocations: 359 kB / 0.4887 GB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1144, allocations: 29.7 kB / 0.4887 GB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1146, allocations: 152.1 kB / 0.4889 GB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.864e-05/0.1146, allocations: 35.73 kB / 0.4889 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.1147, allocations: 37.72 kB / 0.4889 GB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1149, allocations: 334.8 kB / 0.4893 GB, free: 13.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.115, allocations: 55.95 kB / 0.4893 GB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.1152, allocations: 61.69 kB / 0.4894 GB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.1155, allocations: 235.5 kB / 0.4896 GB, free: 13.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1155, allocations: 4.406 kB / 0.4896 GB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004556/0.116, allocations: 252.8 kB / 0.4899 GB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.1161, allocations: 63.41 kB / 0.4899 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1161, allocations: 0 / 0.4899 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1161, allocations: 7.875 kB / 0.4899 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1162, allocations: 15.98 kB / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1162, allocations: 0 / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.1164, allocations: 55.78 kB / 0.49 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.1164, allocations: 4 kB / 0.49 GB, free: 12.96 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.0002076/0.1167, allocations: 213.7 kB / 0.4902 GB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.1167, allocations: 27.86 kB / 0.4902 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.1173, allocations: 270.7 kB / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1173, allocations: 3.938 kB / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1173, allocations: 4 kB / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1173, allocations: 0 / 0.4905 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.1176, allocations: 277.5 kB / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1176, allocations: 0 / 0.4908 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.1177, allocations: 15.98 kB / 0.4908 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1177, allocations: 0 / 0.4908 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.1177, allocations: 8 kB / 0.4908 GB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1177, allocations: 7.938 kB / 0.4908 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1177, allocations: 0 / 0.4908 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.1183, allocations: 358.7 kB / 0.4911 GB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1184, allocations: 116.9 kB / 0.4912 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1184, allocations: 4 kB / 0.4912 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1187, allocations: 39.89 kB / 0.4913 GB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.1187, allocations: 15.98 kB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1188, allocations: 12 kB / 0.4913 GB, free: 11.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.1191, allocations: 269.9 kB / 0.4916 GB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 3.938 kB / 0.4916 GB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1194, allocations: 55.88 kB / 0.4916 GB, free: 11.15 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.001426/0.1208, allocations: 396.6 kB / 0.492 GB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.1213, allocations: 234.7 kB / 0.4922 GB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1213, allocations: 0 / 0.4922 GB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.1216, allocations: 186.7 kB / 0.4924 GB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.122, allocations: 44.75 kB / 0.4924 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008401/0.1229, allocations: 477.4 kB / 0.4929 GB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1233, allocations: 0.7474 MB / 0.4936 GB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.071e-05/0.1233, allocations: 29.31 kB / 0.4937 GB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.1234, allocations: 27.42 kB / 0.4937 GB, free: 9.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1234, allocations: 0 / 0.4937 GB, free: 9.09 MB / 366.1 MB Notification: Performance of Templates: time 0.007446/0.1308, allocations: 3.357 MB / 0.497 GB, free: 5.75 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 gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.702746165916324] Failed to read output from testmodel.py, exit status != 0: 0.1381582817994058 0.153213181 0.041103921 Calling exit ...