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.00124/0.00124, 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.001318/0.001318, allocations: 195.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.436/1.436, 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/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.04493/0.04493, allocations: 8.544 MB / 314.7 MB, free: 296 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.001963/0.001963, allocations: 67.88 kB / 438.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 54.2 MB / 492.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003545/0.1174, allocations: 1.883 MB / 494.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1198, allocations: 1.566 MB / 496.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-05/0.1199, allocations: 0 / 496.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1203, allocations: 119.5 kB / 496.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1206, allocations: 111.5 kB / 496.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.1211, allocations: 179.8 kB / 496.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.1215, allocations: 255.4 kB / 496.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1216, allocations: 32.28 kB / 497 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.1218, allocations: 111.6 kB / 497.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.1221, allocations: 139.4 kB / 497.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1221, allocations: 16 kB / 497.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1223, allocations: 75.97 kB / 497.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.1224, allocations: 47.83 kB / 497.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1225, allocations: 111.3 kB / 497.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.1229, allocations: 274.8 kB / 497.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1229, allocations: 0 / 497.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1229, allocations: 0 / 497.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1229, allocations: 4 kB / 497.7 MB, free: 1.281 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.0008947/0.1238, allocations: 0.6143 MB / 498.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1239, allocations: 11.89 kB / 498.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.1239, allocations: 32.73 kB / 498.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.1243, allocations: 275.8 kB / 498.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1243, allocations: 8.375 kB / 498.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.1243, allocations: 16.12 kB / 498.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.1247, allocations: 151.3 kB / 498.8 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1247, allocations: 4 kB / 498.8 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.1247, allocations: 4 kB / 498.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1247, allocations: 4 kB / 498.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.125, allocations: 99.83 kB / 498.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.126, allocations: 0.5042 MB / 499.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1263, allocations: 94.52 kB / 499.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.1264, allocations: 60.81 kB / 499.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.1264, allocations: 0 / 499.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1265, allocations: 34.56 kB / 499.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1265, allocations: 0 / 499.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007248/0.1272, allocations: 305 kB / 499.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/0.1273, allocations: 140.8 kB / 0.4884 GB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.1277, allocations: 362.9 kB / 0.4887 GB, free: 14.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.1277, allocations: 33.7 kB / 0.4887 GB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1279, allocations: 156 kB / 0.4889 GB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.1279, allocations: 27.75 kB / 0.4889 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.128, allocations: 33.7 kB / 0.4889 GB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1281, allocations: 338.8 kB / 0.4893 GB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1283, allocations: 55.91 kB / 0.4893 GB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1285, allocations: 73.73 kB / 0.4894 GB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1288, allocations: 227.6 kB / 0.4896 GB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1288, allocations: 0 / 0.4896 GB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004592/0.1293, allocations: 248.9 kB / 0.4898 GB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.1293, allocations: 67.39 kB / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1293, allocations: 0 / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1294, allocations: 3.938 kB / 0.4899 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1295, allocations: 15.98 kB / 0.4899 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1295, allocations: 0 / 0.4899 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1297, allocations: 39.86 kB / 0.49 GB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1297, allocations: 11.94 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.0002142/0.1299, allocations: 222.5 kB / 0.4902 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.13, allocations: 27.86 kB / 0.4902 GB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.1305, allocations: 274.8 kB / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1305, allocations: 7.875 kB / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1306, allocations: 0 / 0.4905 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1306, allocations: 8 kB / 0.4905 GB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.1309, allocations: 269.5 kB / 0.4907 GB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1309, allocations: 7.984 kB / 0.4908 GB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/0.131, allocations: 15.94 kB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.131, allocations: 4 kB / 0.4908 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.131, allocations: 7.984 kB / 0.4908 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.131, allocations: 3.938 kB / 0.4908 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.131, allocations: 0 / 0.4908 GB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.1315, allocations: 354.8 kB / 0.4911 GB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1316, allocations: 116.9 kB / 0.4912 GB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1317, allocations: 11.94 kB / 0.4912 GB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.132, allocations: 35.91 kB / 0.4913 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.132, allocations: 11.98 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.132, allocations: 4 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.1323, allocations: 273.9 kB / 0.4916 GB, free: 11.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1323, allocations: 4 kB / 0.4916 GB, free: 11.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.1327, allocations: 55.89 kB / 0.4916 GB, free: 11.13 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.001377/0.134, allocations: 402 kB / 0.492 GB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.1345, allocations: 242.7 kB / 0.4922 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1345, allocations: 0 / 0.4922 GB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.1348, allocations: 174.8 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.0004899/0.1353, allocations: 48.75 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.0008648/0.1362, allocations: 481.4 kB / 0.4929 GB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.1365, allocations: 0.7435 MB / 0.4936 GB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1366, allocations: 25.38 kB / 0.4937 GB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1367, allocations: 23.44 kB / 0.4937 GB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1367, allocations: 0 / 0.4937 GB, free: 9.07 MB / 366.1 MB Notification: Performance of Templates: time 0.007565/0.1442, allocations: 3.36 MB / 0.497 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 gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5135396756231785] Failed to read output from testmodel.py, exit status != 0: 0.1514841034077108 0.166680923 0.040625354 Calling exit ...