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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002653/0.002653, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.03608/0.03608, allocations: 6.488 MB / 266.7 MB, free: 6.504 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.004e-06/2.004e-06, allocations: 0 / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.725e-05, allocations: 2.312 kB / 285.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003434/0.003461, allocations: 1.958 MB / 287.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.005885, allocations: 1.78 MB / 289 MB, free: 196 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.006008, allocations: 0 / 289 MB, free: 196 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.006365, allocations: 111.5 kB / 289.1 MB, free: 84 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1423/0.1486, allocations: 154.5 kB / 289.3 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.1492, allocations: 184.7 kB / 289.5 MB, free: 19.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.1498, allocations: 292.6 kB / 289.8 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.15, allocations: 22.69 kB / 289.8 MB, free: 19.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.1504, allocations: 161.1 kB / 289.9 MB, free: 19.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.1506, allocations: 111.1 kB / 290 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1507, allocations: 18.34 kB / 290.1 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.151, allocations: 125.4 kB / 290.2 MB, free: 19.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.1511, allocations: 52.91 kB / 290.2 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.1512, allocations: 63.22 kB / 290.3 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1517, allocations: 267.4 kB / 290.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1517, allocations: 2.656 kB / 290.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1517, allocations: 0 / 290.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1517, allocations: 0.5312 kB / 290.6 MB, free: 19.29 MB / 266.7 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.0006703/0.1523, allocations: 0.5276 MB / 291.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1524, allocations: 9.969 kB / 291.1 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.1524, allocations: 36.95 kB / 291.1 MB, free: 18.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1527, allocations: 206.8 kB / 291.3 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.1527, allocations: 10 kB / 291.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.1527, allocations: 14.41 kB / 291.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.153, allocations: 218.1 kB / 291.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.153, allocations: 0.75 kB / 291.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.153, allocations: 7.281 kB / 291.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.153, allocations: 4.031 kB / 291.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.225e-05/0.1531, allocations: 96.28 kB / 291.7 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.1536, allocations: 282.1 kB / 292 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.586e-05/0.1537, allocations: 105.6 kB / 292.1 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1538, allocations: 85.95 kB / 292.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1538, allocations: 5.344 kB / 292.2 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1538, allocations: 38.69 kB / 292.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.1538, allocations: 1.188 kB / 292.2 MB, free: 18.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.000293/0.1541, allocations: 298.2 kB / 292.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1541, allocations: 138.4 kB / 292.6 MB, free: 17.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1544, allocations: 289.2 kB / 292.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1544, allocations: 36.64 kB / 292.9 MB, free: 17.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1545, allocations: 120 kB / 293.1 MB, free: 17.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1545, allocations: 40.25 kB / 293.1 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1545, allocations: 31.05 kB / 293.1 MB, free: 17.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.1546, allocations: 344.2 kB / 293.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.986e-05/0.1547, allocations: 74.78 kB / 293.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.1547, allocations: 120.5 kB / 293.6 MB, free: 16.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1549, allocations: 181.9 kB / 293.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1549, allocations: 1.219 kB / 293.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001766/0.155, allocations: 217.9 kB / 294 MB, free: 16.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1551, allocations: 68.02 kB / 294.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1551, allocations: 0.6094 kB / 294.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1551, allocations: 0 / 294.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.1552, allocations: 19.72 kB / 294.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1552, allocations: 0 / 294.1 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.019e-05/0.1553, allocations: 27.38 kB / 294.2 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1553, allocations: 6.469 kB / 294.2 MB, free: 16.61 MB / 266.7 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 9.248e-05/0.1554, allocations: 190.5 kB / 294.3 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.1554, allocations: 27.69 kB / 294.4 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.1556, allocations: 243.9 kB / 294.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1556, allocations: 1.766 kB / 294.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1556, allocations: 0 / 294.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1556, allocations: 1.734 kB / 294.6 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.1558, allocations: 125.6 kB / 294.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1558, allocations: 4.812 kB / 294.7 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.1559, allocations: 15.92 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1559, allocations: 1 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1559, allocations: 5.016 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.1559, allocations: 0.6562 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1559, allocations: 1.906 kB / 294.8 MB, free: 16.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.1561, allocations: 333 kB / 295.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-05/0.1561, allocations: 35.42 kB / 295.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.1562, allocations: 5.625 kB / 295.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1563, allocations: 20.03 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1563, allocations: 16.53 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1563, allocations: 4.922 kB / 295.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1565, allocations: 121.7 kB / 295.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1565, allocations: 0 / 295.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.1567, allocations: 74.83 kB / 295.4 MB, free: 15.89 MB / 266.7 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.001307/0.158, allocations: 0.5629 MB / 295.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.1583, allocations: 304.3 kB / 296.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.1583, allocations: 3.594 kB / 296.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1584, allocations: 216.4 kB / 296.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.1587, allocations: 47.75 kB / 296.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/0.1595, allocations: 487.4 kB / 297 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.1595, allocations: 82.88 kB / 297 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.1596, allocations: 24.11 kB / 297.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.1597, allocations: 109.1 kB / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of SimCode: time 2.454e-06/0.1597, allocations: 0 / 297.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Templates: time 0.007562/0.1673, allocations: 4.157 MB / 301.3 MB, free: 13.86 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9299518577754498]