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.001574/0.001574, allocations: 107.4 kB / 16.4 MB, free: 6.508 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.001804/0.001805, allocations: 198.7 kB / 19.35 MB, free: 3.73 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.512/1.512, allocations: 222.9 MB / 245.1 MB, free: 15 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.04544/0.04544, allocations: 8.409 MB / 305.6 MB, free: 4.305 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.001977/0.001977, allocations: 63.91 kB / 422.5 MB, free: 20.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 51.38 MB / 473.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.004366/0.1304, allocations: 1.86 MB / 475.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.1333, allocations: 1.479 MB / 477.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.1334, allocations: 0 / 477.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.1338, allocations: 99.61 kB / 477.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.1345, allocations: 123.4 kB / 477.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.135, allocations: 171.4 kB / 477.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.1355, allocations: 283.3 kB / 477.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.1356, allocations: 36.28 kB / 477.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1359, allocations: 99.61 kB / 478 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.1362, allocations: 127.5 kB / 478.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.1362, allocations: 19.98 kB / 478.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.1364, allocations: 75.92 kB / 478.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1365, allocations: 51.78 kB / 478.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.1367, allocations: 107.3 kB / 478.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004935/0.1372, allocations: 270.9 kB / 478.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1372, allocations: 3.938 kB / 478.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.212e-06/0.1372, allocations: 0 / 478.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1372, allocations: 7.938 kB / 478.7 MB, free: 12.33 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.001553/0.1388, allocations: 0.6105 MB / 479.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.1389, allocations: 11.89 kB / 479.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.139, allocations: 32.73 kB / 479.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.1395, allocations: 279.7 kB / 479.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1395, allocations: 8.375 kB / 479.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.1396, allocations: 20.12 kB / 479.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004464/0.14, allocations: 154.5 kB / 479.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1401, allocations: 0 / 479.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.1401, allocations: 8 kB / 479.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1401, allocations: 0 / 479.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1404, allocations: 95.92 kB / 479.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1416, allocations: 0.5004 MB / 480.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1419, allocations: 102.5 kB / 480.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.1421, allocations: 88.84 kB / 480.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1422, allocations: 3.938 kB / 480.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1422, allocations: 34.56 kB / 480.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1422, allocations: 0 / 480.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000758/0.143, allocations: 309 kB / 480.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1431, allocations: 136.5 kB / 481 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.1437, allocations: 367 kB / 481.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1437, allocations: 25.7 kB / 481.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.144, allocations: 160 kB / 481.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.704e-05/0.144, allocations: 31.73 kB / 481.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.032e-05/0.1441, allocations: 29.72 kB / 481.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.1443, allocations: 338.8 kB / 482 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1445, allocations: 55.97 kB / 482 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1447, allocations: 69.67 kB / 482.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.1451, allocations: 235.9 kB / 482.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1451, allocations: 0 / 482.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004501/0.1455, allocations: 232.9 kB / 482.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.1456, allocations: 71.42 kB / 482.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1456, allocations: 0 / 482.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1456, allocations: 7.938 kB / 482.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1458, allocations: 11.98 kB / 482.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1458, allocations: 7.938 kB / 482.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.146, allocations: 35.86 kB / 482.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.146, allocations: 8 kB / 482.7 MB, free: 7.977 MB / 350.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.0002199/0.1462, allocations: 222.6 kB / 482.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.1463, allocations: 23.86 kB / 482.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005676/0.1469, allocations: 266.7 kB / 483.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1469, allocations: 3.938 kB / 483.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1469, allocations: 0 / 483.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1469, allocations: 0 / 483.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.1473, allocations: 281.4 kB / 483.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1473, allocations: 3.984 kB / 483.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.1474, allocations: 19.98 kB / 483.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1474, allocations: 0 / 483.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.1474, allocations: 12 kB / 483.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.1474, allocations: 3.938 kB / 483.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1474, allocations: 3.938 kB / 483.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.1479, allocations: 354.6 kB / 483.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.1481, allocations: 116.9 kB / 484 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1481, allocations: 4 kB / 484 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1484, allocations: 35.91 kB / 484 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.1485, allocations: 15.98 kB / 484 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1485, allocations: 4 kB / 484 MB, free: 6.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.1488, allocations: 269.9 kB / 484.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1488, allocations: 4 kB / 484.3 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1491, allocations: 55.89 kB / 484.4 MB, free: 6.168 MB / 350.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.001428/0.1506, allocations: 398.3 kB / 484.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.1511, allocations: 258.7 kB / 485 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1511, allocations: 4 kB / 485 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.1515, allocations: 198.7 kB / 485.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.152, allocations: 56.67 kB / 485.2 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009171/0.1529, allocations: 473.5 kB / 485.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.1533, allocations: 0.7435 MB / 486.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.304e-05/0.1534, allocations: 21.39 kB / 486.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.1535, allocations: 27.42 kB / 486.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1535, allocations: 0 / 486.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of Templates: time 0.007991/0.1615, allocations: 3.302 MB / 489.8 MB, free: 0.7656 MB / 350.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.832061478868127]