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.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.00134/0.00134, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001367/0.001367, allocations: 199.5 kB / 22.18 MB, free: 5.211 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.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] 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.04543/0.04543, allocations: 8.537 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/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_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 0.001989/0.001989, allocations: 67.89 kB / 438.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 54.2 MB / 492.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003833/0.1183, allocations: 1.883 MB / 494.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.1208, allocations: 1.57 MB / 496.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1209, allocations: 8 kB / 496.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1212, allocations: 111.5 kB / 496.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003359/0.1216, allocations: 111.5 kB / 496.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.1221, allocations: 185 kB / 496.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003975/0.1225, allocations: 263.4 kB / 497 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1226, allocations: 20.31 kB / 497 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1228, allocations: 111.6 kB / 497.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.1231, allocations: 139.5 kB / 497.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.1231, allocations: 16 kB / 497.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1233, allocations: 75.91 kB / 497.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.19e-05/0.1234, allocations: 47.78 kB / 497.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1235, allocations: 99.41 kB / 497.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.1239, allocations: 290.8 kB / 497.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1239, allocations: 0 / 497.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1239, allocations: 0 / 497.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1239, allocations: 0 / 497.7 MB, free: 1.273 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.0009297/0.1248, allocations: 0.6104 MB / 498.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1249, allocations: 11.89 kB / 498.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.125, allocations: 28.8 kB / 498.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1253, allocations: 279.7 kB / 498.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1253, allocations: 12.38 kB / 498.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1254, allocations: 12.12 kB / 498.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.1257, allocations: 150.5 kB / 498.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1258, allocations: 4 kB / 498.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.1258, allocations: 4 kB / 498.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1258, allocations: 3.938 kB / 498.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1261, allocations: 103.8 kB / 499 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.1272, allocations: 0.512 MB / 499.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1274, allocations: 82.55 kB / 499.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1276, allocations: 60.81 kB / 499.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.1276, allocations: 8 kB / 499.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1277, allocations: 30.56 kB / 499.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1277, allocations: 0 / 499.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007536/0.1284, allocations: 305 kB / 499.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.1285, allocations: 136.5 kB / 0.4884 GB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.1289, allocations: 366.9 kB / 0.4887 GB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.129, allocations: 33.7 kB / 0.4887 GB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1291, allocations: 148.1 kB / 0.4889 GB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.1292, allocations: 39.8 kB / 0.4889 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.1292, allocations: 33.72 kB / 0.4889 GB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1294, allocations: 330.8 kB / 0.4893 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.1296, allocations: 51.97 kB / 0.4893 GB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1298, allocations: 81.61 kB / 0.4894 GB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.1302, allocations: 227.6 kB / 0.4896 GB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1302, allocations: 4.375 kB / 0.4896 GB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004833/0.1306, allocations: 248.7 kB / 0.4898 GB, free: 13.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.1307, allocations: 67.39 kB / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1307, allocations: 4 kB / 0.4899 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.1307, allocations: 7.969 kB / 0.4899 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1309, allocations: 15.98 kB / 0.4899 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1309, allocations: 0 / 0.4899 GB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.1311, allocations: 35.86 kB / 0.49 GB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1311, allocations: 8 kB / 0.49 GB, free: 12.95 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.0002238/0.1313, allocations: 218.6 kB / 0.4902 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.1314, allocations: 27.86 kB / 0.4902 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.132, allocations: 274.7 kB / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.132, allocations: 3.938 kB / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.132, allocations: 3.984 kB / 0.4905 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.132, allocations: 0 / 0.4905 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.1323, allocations: 273.5 kB / 0.4907 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1323, allocations: 0 / 0.4907 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.1324, allocations: 15.98 kB / 0.4908 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1324, allocations: 0 / 0.4908 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1324, allocations: 12 kB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.1324, allocations: 7.938 kB / 0.4908 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1324, allocations: 3.938 kB / 0.4908 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1331, allocations: 354.7 kB / 0.4911 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1332, allocations: 120.9 kB / 0.4912 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1332, allocations: 4 kB / 0.4912 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.1335, allocations: 35.91 kB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.272e-05/0.1336, allocations: 19.98 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1336, allocations: 4 kB / 0.4913 GB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003137/0.1339, allocations: 269.9 kB / 0.4916 GB, free: 11.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1339, allocations: 3.938 kB / 0.4916 GB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.1342, allocations: 59.83 kB / 0.4916 GB, free: 11.12 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.001528/0.1357, allocations: 399.6 kB / 0.492 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005135/0.1363, allocations: 234.7 kB / 0.4922 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1363, allocations: 0 / 0.4922 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.1365, allocations: 182.7 kB / 0.4924 GB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.137, allocations: 53.09 kB / 0.4924 GB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.138, allocations: 477.4 kB / 0.4929 GB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1385, allocations: 0.7513 MB / 0.4936 GB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.1386, allocations: 17.08 kB / 0.4937 GB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.1387, allocations: 23.42 kB / 0.4937 GB, free: 9.066 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1387, allocations: 7.938 kB / 0.4937 GB, free: 9.059 MB / 366.1 MB Notification: Performance of Templates: time 0.007992/0.1467, allocations: 3.345 MB / 0.4969 GB, free: 5.73 MB / 366.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 -s cvode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8735413290560246] Failed to read output from testmodel.py, exit status != 0: 0.1543523077853024 0.16932528200000002 0.042368532 Calling exit ...