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.001365/0.001365, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 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.001548/0.001548, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.502/1.502, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04934/0.04934, allocations: 6.481 MB / 266 MB, free: 6.641 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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 2.224e-06/2.224e-06, allocations: 0 / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.717e-05, allocations: 2.312 kB / 337.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002718/0.002745, allocations: 1.863 MB / 339.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.004807, allocations: 1.711 MB / 340.9 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.004935, allocations: 3.938 kB / 340.9 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.005231, allocations: 111.5 kB / 341 MB, free: 7.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.005747, allocations: 167.2 kB / 341.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.006205, allocations: 187.5 kB / 341.4 MB, free: 7.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.006552, allocations: 295.2 kB / 341.7 MB, free: 6.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.006663, allocations: 24.56 kB / 341.7 MB, free: 6.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.006951, allocations: 151.7 kB / 341.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.007163, allocations: 123.7 kB / 342 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/0.007204, allocations: 20 kB / 342 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.007421, allocations: 119.8 kB / 342.1 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.007491, allocations: 55.77 kB / 342.1 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.007567, allocations: 63.78 kB / 342.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.007966, allocations: 346.9 kB / 342.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.00797, allocations: 0 / 342.5 MB, free: 5.906 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007971, allocations: 4 kB / 342.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.007977, allocations: 0 / 342.5 MB, free: 5.902 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.0007144/0.008692, allocations: 0.5622 MB / 343.1 MB, free: 5.297 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.008726, allocations: 8.031 kB / 343.1 MB, free: 5.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.008826, allocations: 44.75 kB / 343.2 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.009104, allocations: 233.8 kB / 343.4 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.009121, allocations: 8.375 kB / 343.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.009145, allocations: 12.38 kB / 343.4 MB, free: 4.969 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.009487, allocations: 233 kB / 343.6 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009499, allocations: 7.875 kB / 343.6 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.00952, allocations: 8 kB / 343.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.009525, allocations: 4 kB / 343.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.009807, allocations: 155.3 kB / 343.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008778/0.01068, allocations: 436.1 kB / 344.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.0109, allocations: 149.9 kB / 344.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.01106, allocations: 116.2 kB / 344.5 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.0111, allocations: 4 kB / 344.5 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.01112, allocations: 34.56 kB / 344.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.01112, allocations: 4 kB / 344.5 MB, free: 3.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006598/0.01178, allocations: 431.8 kB / 345 MB, free: 3.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.01182, allocations: 140.5 kB / 345.1 MB, free: 3.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.01215, allocations: 384.5 kB / 345.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.01217, allocations: 33.7 kB / 345.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.01224, allocations: 156.1 kB / 345.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.01227, allocations: 27.75 kB / 345.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.01233, allocations: 33.7 kB / 345.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.01238, allocations: 342.8 kB / 346 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.01254, allocations: 111.4 kB / 346.2 MB, free: 1.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.0127, allocations: 162.7 kB / 346.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.01297, allocations: 227.6 kB / 346.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01297, allocations: 0 / 346.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004267/0.0134, allocations: 316.2 kB / 346.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.01344, allocations: 65.12 kB / 346.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01345, allocations: 3.984 kB / 346.9 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.01347, allocations: 7.938 kB / 346.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.01357, allocations: 12.03 kB / 346.9 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01358, allocations: 7.984 kB / 346.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.01381, allocations: 31.91 kB / 347 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.01382, allocations: 7.938 kB / 347 MB, free: 1.066 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 0.000129/0.01395, allocations: 217.2 kB / 347.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.01402, allocations: 39.81 kB / 347.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.01448, allocations: 330.3 kB / 347.6 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01448, allocations: 3.984 kB / 347.6 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01448, allocations: 4 kB / 347.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01449, allocations: 0 / 347.6 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.01467, allocations: 201.2 kB / 347.8 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01467, allocations: 3.984 kB / 347.8 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.01475, allocations: 15.94 kB / 347.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01476, allocations: 0 / 347.8 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01477, allocations: 15.98 kB / 347.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01477, allocations: 4 kB / 347.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01478, allocations: 0 / 347.8 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.0154, allocations: 426.4 kB / 348.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.0155, allocations: 43.73 kB / 348.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.01555, allocations: 11.98 kB / 348.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.01582, allocations: 31.97 kB / 348.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.0159, allocations: 19.92 kB / 348.3 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.01591, allocations: 8 kB / 348.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003655/0.01628, allocations: 283 kB / 348.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01628, allocations: 0 / 348.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.01665, allocations: 75.86 kB / 348.7 MB, free: 15.24 MB / 282.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.002033/0.01868, allocations: 473.9 kB / 349.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.01932, allocations: 373.4 kB / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01932, allocations: 0 / 349.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.01965, allocations: 242.3 kB / 349.7 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.02015, allocations: 65.7 kB / 349.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.02118, allocations: 0.5381 MB / 350.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.02136, allocations: 144.7 kB / 350.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.468e-05/0.02146, allocations: 21.12 kB / 350.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.02152, allocations: 24.5 kB / 350.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02152, allocations: 0 / 350.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of Templates: time 0.009389/0.03091, allocations: 3.965 MB / 354.5 MB, free: 9.496 MB / 282.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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.477775149978697]