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.001187/0.001187, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.0026, allocations: 443.8 kB / 10.29 MB, free: 404 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.0007323/0.0007323, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.001771, allocations: 475.6 kB / 11.64 MB, free: 2.531 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.047/1.047, allocations: 177.2 MB / 189.5 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08637/1.133, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.02526/0.02526, allocations: 6.46 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003972/0.02923, allocations: 2.472 MB / 252.9 MB, free: 5.973 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 1.362e-06/1.362e-06, allocations: 0 / 254.1 MB, free: 4.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.686e-05, allocations: 5.969 kB / 254.1 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002118/0.002134, allocations: 1.955 MB / 256.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.004009, allocations: 1.769 MB / 257.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.699e-05/0.004095, allocations: 4 kB / 257.8 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.004297, allocations: 123.4 kB / 258 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.004558, allocations: 171.2 kB / 258.1 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.004838, allocations: 179.6 kB / 258.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.005144, allocations: 287.2 kB / 258.6 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005245, allocations: 30.48 kB / 258.6 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003332/0.005578, allocations: 213.4 kB / 258.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.005735, allocations: 111.7 kB / 258.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.005765, allocations: 16 kB / 258.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.005934, allocations: 123.8 kB / 259.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.005989, allocations: 43.86 kB / 259.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.006051, allocations: 51.81 kB / 259.2 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.006327, allocations: 243.2 kB / 259.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.006338, allocations: 4 kB / 259.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006338, allocations: 3.938 kB / 259.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.006347, allocations: 0 / 259.4 MB, free: 15.4 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.0008903/0.007238, allocations: 0.5761 MB / 260 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.00727, allocations: 8.031 kB / 260 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.007317, allocations: 32.91 kB / 260 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.007526, allocations: 201.9 kB / 260.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.007536, allocations: 8.375 kB / 260.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.007553, allocations: 16.38 kB / 260.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.007736, allocations: 217.6 kB / 260.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.007746, allocations: 3.938 kB / 260.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.007763, allocations: 11.98 kB / 260.5 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.00777, allocations: 7.938 kB / 260.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.007843, allocations: 99.23 kB / 260.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.008254, allocations: 282.8 kB / 260.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.165e-05/0.008336, allocations: 102 kB / 260.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.008389, allocations: 92.25 kB / 261 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.008411, allocations: 4 kB / 261 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.008435, allocations: 38.58 kB / 261.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.008436, allocations: 0 / 261.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002255/0.008662, allocations: 303.8 kB / 261.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.008716, allocations: 136.5 kB / 261.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.008908, allocations: 296.7 kB / 261.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.008922, allocations: 33.7 kB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.008976, allocations: 128.8 kB / 262 MB, free: 12.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.009005, allocations: 35.73 kB / 262 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.009044, allocations: 33.7 kB / 262 MB, free: 12.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.009125, allocations: 342.7 kB / 262.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.415e-05/0.009169, allocations: 79.39 kB / 262.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.009229, allocations: 114.8 kB / 262.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.961e-05/0.009328, allocations: 186.4 kB / 262.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.009331, allocations: 4 kB / 262.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.009471, allocations: 224.4 kB / 262.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.009511, allocations: 59.41 kB / 263 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.009515, allocations: 0 / 263 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.009524, allocations: 4.031 kB / 263 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.009579, allocations: 15.98 kB / 263 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/0.009581, allocations: 0 / 263 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.009644, allocations: 27.88 kB / 263.1 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.009654, allocations: 8 kB / 263.1 MB, free: 11.34 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.1e-05/0.009745, allocations: 187.9 kB / 263.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.009775, allocations: 27.97 kB / 263.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.009967, allocations: 242.7 kB / 263.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.00997, allocations: 0 / 263.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.009971, allocations: 4 kB / 263.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.009975, allocations: 0 / 263.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.0101, allocations: 137.7 kB / 263.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0101, allocations: 0 / 263.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.01014, allocations: 15.94 kB / 263.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01014, allocations: 3.984 kB / 263.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.01015, allocations: 12 kB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01015, allocations: 4.312 kB / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.01015, allocations: 0 / 263.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01032, allocations: 330.2 kB / 264 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.01037, allocations: 39.73 kB / 264 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.0104, allocations: 8 kB / 264.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.01047, allocations: 15.98 kB / 264.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01052, allocations: 19.92 kB / 264.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.01052, allocations: 4 kB / 264.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.01062, allocations: 127.4 kB / 264.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01062, allocations: 0 / 264.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.01078, allocations: 63.88 kB / 264.3 MB, free: 10.01 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.001171/0.01196, allocations: 0.6145 MB / 264.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.01215, allocations: 306.4 kB / 265.2 MB, free: 9.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.01216, allocations: 4 kB / 265.2 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.01225, allocations: 211 kB / 265.4 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01246, allocations: 72.2 kB / 265.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.01308, allocations: 486.9 kB / 265.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.01313, allocations: 87.81 kB / 266 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.705e-05/0.01318, allocations: 25.44 kB / 266.1 MB, free: 8.324 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.01329, allocations: 111.3 kB / 266.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01329, allocations: 0 / 266.2 MB, free: 8.215 MB / 266.7 MB Notification: Performance of Templates: time 0.005963/0.01926, allocations: 4.172 MB / 270.3 MB, free: 4.066 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6118119759485126]