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.001729/0.001729, allocations: 108.3 kB / 16.45 MB, free: 6.457 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.001959/0.001959, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.04255/0.04255, allocations: 8.54 MB / 311.2 MB, free: 1.328 MB / 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_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.00196/0.00196, allocations: 59.89 kB / 433.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1174, allocations: 54.2 MB / 487.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003471/0.1209, allocations: 1.872 MB / 489.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1231, allocations: 1.495 MB / 491.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.512e-05/0.1232, allocations: 0 / 491.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1235, allocations: 99.61 kB / 491.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1239, allocations: 119.4 kB / 491.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.1243, allocations: 176.5 kB / 491.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.1247, allocations: 271.3 kB / 491.9 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1248, allocations: 32.28 kB / 492 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.125, allocations: 99.61 kB / 492.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.1252, allocations: 135.5 kB / 492.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.1253, allocations: 16 kB / 492.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1254, allocations: 75.92 kB / 492.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.019e-05/0.1255, allocations: 51.77 kB / 492.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1256, allocations: 103.3 kB / 492.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.126, allocations: 278.8 kB / 492.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.126, allocations: 4 kB / 492.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.126, allocations: 0 / 492.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.126, allocations: 0 / 492.7 MB, free: 2.953 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.0008533/0.1269, allocations: 0.6144 MB / 493.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1269, allocations: 11.89 kB / 493.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.127, allocations: 28.8 kB / 493.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1273, allocations: 279.7 kB / 493.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.1273, allocations: 4.375 kB / 493.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1274, allocations: 24.12 kB / 493.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.1277, allocations: 139.3 kB / 493.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1277, allocations: 7.984 kB / 493.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1278, allocations: 7.938 kB / 493.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1278, allocations: 4 kB / 493.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.1281, allocations: 103.8 kB / 493.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1291, allocations: 0.4965 MB / 494.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1293, allocations: 94.47 kB / 494.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.1295, allocations: 60.83 kB / 494.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1295, allocations: 4.062 kB / 494.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1296, allocations: 34.56 kB / 494.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1296, allocations: 0 / 494.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008827/0.1305, allocations: 312.9 kB / 494.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.1306, allocations: 132.5 kB / 495 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.1312, allocations: 363 kB / 495.4 MB, free: 20 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.1312, allocations: 29.7 kB / 495.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1314, allocations: 160 kB / 495.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.1315, allocations: 31.73 kB / 495.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1316, allocations: 29.72 kB / 495.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.1318, allocations: 342.8 kB / 496 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.132, allocations: 51.97 kB / 496 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.1323, allocations: 69.67 kB / 496.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.133, allocations: 235.5 kB / 496.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.133, allocations: 0 / 496.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007964/0.1338, allocations: 248.9 kB / 496.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.507e-05/0.1339, allocations: 62.22 kB / 496.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1339, allocations: 0 / 496.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.1339, allocations: 3.938 kB / 496.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1341, allocations: 23.92 kB / 496.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1341, allocations: 0 / 496.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.1344, allocations: 43.86 kB / 496.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.1344, allocations: 7.984 kB / 496.7 MB, free: 14.62 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.0002864/0.1347, allocations: 210.1 kB / 496.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1348, allocations: 27.86 kB / 496.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008255/0.1356, allocations: 274.7 kB / 497.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1357, allocations: 3.938 kB / 497.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1357, allocations: 0 / 497.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1357, allocations: 8 kB / 497.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.1361, allocations: 281.4 kB / 497.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1362, allocations: 0 / 497.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1363, allocations: 15.98 kB / 497.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1363, allocations: 4 kB / 497.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.1363, allocations: 4 kB / 497.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.812e-06/0.1363, allocations: 7.938 kB / 497.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1363, allocations: 0 / 497.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007722/0.1371, allocations: 358.7 kB / 497.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.1373, allocations: 112.9 kB / 498 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.1373, allocations: 12 kB / 498 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.1376, allocations: 31.91 kB / 498 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.1377, allocations: 15.98 kB / 498 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1377, allocations: 4 kB / 498 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004173/0.1382, allocations: 273.9 kB / 498.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 0 / 498.3 MB, free: 12.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004671/0.1386, allocations: 63.88 kB / 498.4 MB, free: 12.8 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.001726/0.1404, allocations: 394.8 kB / 498.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.141, allocations: 238.7 kB / 499 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.141, allocations: 0 / 499 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.1414, allocations: 186.9 kB / 499.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.142, allocations: 64.16 kB / 499.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.1432, allocations: 453.6 kB / 499.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.1439, allocations: 0.7552 MB / 0.4887 GB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.144, allocations: 17.08 kB / 0.4887 GB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.144, allocations: 19.42 kB / 0.4887 GB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.144, allocations: 0 / 0.4887 GB, free: 10.74 MB / 366.1 MB Notification: Performance of Templates: time 0.01046/0.1545, allocations: 3.331 MB / 0.492 GB, free: 7.426 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.665568523108959]