Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001166/0.001166, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002838, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00113/0.00113, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.002175, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.046/1.046, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.152, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.02515/0.02515, allocations: 6.483 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004119/0.02927, allocations: 2.484 MB / 252.9 MB, free: 5.965 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-main/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_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 254.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.851e-05/2.017e-05, allocations: 2.312 kB / 254.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002435/0.002456, allocations: 1.955 MB / 256.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.004408, allocations: 1.785 MB / 257.9 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.004505, allocations: 3.938 kB / 257.9 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.004674, allocations: 111.5 kB / 258 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.004963, allocations: 175.1 kB / 258.2 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.0053, allocations: 179.6 kB / 258.4 MB, free: 488 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.00563, allocations: 287.2 kB / 258.7 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.005724, allocations: 38.48 kB / 258.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.006008, allocations: 217.4 kB / 258.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.006168, allocations: 103.7 kB / 259 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.006194, allocations: 16 kB / 259 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.006396, allocations: 123.8 kB / 259.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.006448, allocations: 43.8 kB / 259.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.006502, allocations: 55.81 kB / 259.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.006787, allocations: 235.2 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.006801, allocations: 7.922 kB / 259.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006802, allocations: 3.938 kB / 259.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.006814, allocations: 4 kB / 259.5 MB, free: 15.36 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.0005796/0.007393, allocations: 0.5723 MB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.007422, allocations: 15.98 kB / 260.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.007466, allocations: 24.92 kB / 260.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.007679, allocations: 209.8 kB / 260.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.00769, allocations: 12.36 kB / 260.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.007706, allocations: 12.38 kB / 260.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.00789, allocations: 213 kB / 260.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.007898, allocations: 3.938 kB / 260.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.007909, allocations: 12 kB / 260.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.007914, allocations: 3.938 kB / 260.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.007992, allocations: 103.2 kB / 260.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.008387, allocations: 278.8 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.909e-05/0.008476, allocations: 113.9 kB / 261.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.008526, allocations: 92.25 kB / 261.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.008547, allocations: 0 / 261.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.008566, allocations: 34.56 kB / 261.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/0.008568, allocations: 3.984 kB / 261.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002247/0.008793, allocations: 315.9 kB / 261.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.008819, allocations: 55.41 kB / 261.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.009014, allocations: 288.7 kB / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.009032, allocations: 33.7 kB / 261.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.009078, allocations: 124.7 kB / 262 MB, free: 12.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.009107, allocations: 35.73 kB / 262 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.009148, allocations: 33.7 kB / 262 MB, free: 12.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.049e-05/0.009228, allocations: 346.7 kB / 262.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.009277, allocations: 79.39 kB / 262.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.009337, allocations: 118.8 kB / 262.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.64e-05/0.009434, allocations: 186.7 kB / 262.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009436, allocations: 0 / 262.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001384/0.009574, allocations: 224.4 kB / 263 MB, free: 11.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.009618, allocations: 67.39 kB / 263 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.009622, allocations: 240 / 263 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.009628, allocations: 0 / 263 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.009693, allocations: 12.03 kB / 263.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.009697, allocations: 11.97 kB / 263.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-05/0.009764, allocations: 19.94 kB / 263.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.009774, allocations: 11.94 kB / 263.1 MB, free: 11.39 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.062e-05/0.009865, allocations: 184 kB / 263.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.0099, allocations: 27.97 kB / 263.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.01007, allocations: 238.4 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.01007, allocations: 0 / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01007, allocations: 3.938 kB / 263.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01007, allocations: 4 kB / 263.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.0102, allocations: 137.7 kB / 263.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.0102, allocations: 0 / 263.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.01024, allocations: 15.98 kB / 263.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.01029, allocations: 43.73 kB / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.0103, allocations: 0 / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.0103, allocations: 4 kB / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0103, allocations: 0 / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01031, allocations: 0 / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.01048, allocations: 334.2 kB / 264.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.0105, allocations: 12 kB / 264.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.01057, allocations: 19.98 kB / 264.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.01061, allocations: 15.98 kB / 264.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.01062, allocations: 4 kB / 264.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.01071, allocations: 123.4 kB / 264.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 264.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01091, allocations: 67.86 kB / 264.3 MB, free: 10.06 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.00128/0.01219, allocations: 0.623 MB / 264.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.0124, allocations: 302.4 kB / 265.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.01241, allocations: 4 kB / 265.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.01251, allocations: 215 kB / 265.4 MB, free: 9.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.01273, allocations: 67.98 kB / 265.5 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009881/0.01372, allocations: 491.2 kB / 266 MB, free: 8.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.804e-05/0.01376, allocations: 87.8 kB / 266.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.01382, allocations: 21.14 kB / 266.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.01395, allocations: 111.3 kB / 266.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01396, allocations: 0 / 266.2 MB, free: 8.266 MB / 266.7 MB Notification: Performance of Templates: time 0.006634/0.02059, allocations: 4.172 MB / 270.4 MB, free: 4.113 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6534097008407116]