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.001037/0.001037, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001084/0.001084, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.942/0.942, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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.02569/0.02569, allocations: 6.487 MB / 266.8 MB, free: 6.719 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 1.503e-06/1.503e-06, allocations: 0 / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.935e-05, allocations: 6.312 kB / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.002811/0.00283, allocations: 1.918 MB / 340 MB, free: 9.207 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.0045, allocations: 1.741 MB / 341.7 MB, free: 7.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.004599, allocations: 4 kB / 341.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.004872, allocations: 111.5 kB / 341.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.005241, allocations: 171.1 kB / 342 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.005513, allocations: 183.5 kB / 342.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.005745, allocations: 291.2 kB / 342.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.005841, allocations: 24.58 kB / 342.5 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.006027, allocations: 155.6 kB / 342.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.006162, allocations: 123.6 kB / 342.8 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.006186, allocations: 20 kB / 342.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.006299, allocations: 115.8 kB / 342.9 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.006351, allocations: 51.78 kB / 343 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.006403, allocations: 75.7 kB / 343 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.006641, allocations: 271 kB / 343.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006643, allocations: 0 / 343.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006643, allocations: 0 / 343.3 MB, free: 5.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.006648, allocations: 0 / 343.3 MB, free: 5.891 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.0004549/0.007102, allocations: 0.6544 MB / 344 MB, free: 5.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.007133, allocations: 16.03 kB / 344 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.007192, allocations: 44.75 kB / 344 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.007372, allocations: 228.6 kB / 344.2 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.007383, allocations: 12.38 kB / 344.3 MB, free: 4.863 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.007398, allocations: 8.375 kB / 344.3 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.00758, allocations: 219.4 kB / 344.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.007588, allocations: 3.938 kB / 344.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.007601, allocations: 8 kB / 344.5 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.007608, allocations: 7.984 kB / 344.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.292e-05/0.007691, allocations: 103.4 kB / 344.6 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.008125, allocations: 467.3 kB / 345.1 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.767e-05/0.008213, allocations: 126.4 kB / 345.2 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.008271, allocations: 99.06 kB / 345.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.00829, allocations: 0 / 345.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.008305, allocations: 41.39 kB / 345.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 8.11e-07/0.008306, allocations: 4 kB / 345.3 MB, free: 3.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002734/0.008579, allocations: 351.9 kB / 345.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.008608, allocations: 136.5 kB / 345.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.008808, allocations: 358.3 kB / 346.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.008819, allocations: 29.7 kB / 346.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.008883, allocations: 210.7 kB / 346.4 MB, free: 2.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.008908, allocations: 35.75 kB / 346.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.008947, allocations: 35.36 kB / 346.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.008999, allocations: 0.5157 MB / 347 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.00905, allocations: 83.39 kB / 347 MB, free: 1.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.009108, allocations: 132.5 kB / 347.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.009202, allocations: 190.4 kB / 347.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009204, allocations: 0 / 347.4 MB, free: 1.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001553/0.009359, allocations: 260.4 kB / 347.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.009384, allocations: 67.39 kB / 347.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.009389, allocations: 80 / 347.7 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.0094, allocations: 3.938 kB / 347.7 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.00946, allocations: 15.98 kB / 347.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.009464, allocations: 3.984 kB / 347.7 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.009533, allocations: 19.98 kB / 347.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.009543, allocations: 15.94 kB / 347.7 MB, free: 1.012 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 6.742e-05/0.009611, allocations: 224 kB / 348 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.009652, allocations: 39.81 kB / 348 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.009847, allocations: 278.4 kB / 348.3 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009849, allocations: 4 kB / 348.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.009853, allocations: 0 / 348.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.009857, allocations: 0 / 348.3 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.009988, allocations: 216.4 kB / 348.5 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009989, allocations: 0 / 348.5 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.01002, allocations: 15.98 kB / 348.5 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01002, allocations: 8 kB / 348.5 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01003, allocations: 4 kB / 348.5 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01003, allocations: 0 / 348.5 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01003, allocations: 0 / 348.5 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.01028, allocations: 430.5 kB / 348.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.01034, allocations: 47.72 kB / 349 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.01037, allocations: 4 kB / 349 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.01046, allocations: 19.98 kB / 349 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.01051, allocations: 19.97 kB / 349 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.01052, allocations: 8 kB / 349 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.01067, allocations: 247 kB / 349.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01067, allocations: 0 / 349.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01088, allocations: 75.8 kB / 349.3 MB, free: 15.27 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.0008622/0.01174, allocations: 448.7 kB / 349.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.01198, allocations: 317.2 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01198, allocations: 0 / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.0121, allocations: 225.8 kB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.01235, allocations: 71.78 kB / 350.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.01301, allocations: 475 kB / 350.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.01307, allocations: 91.67 kB / 350.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.01311, allocations: 21.12 kB / 351 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.01315, allocations: 28.48 kB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01315, allocations: 0 / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.00613/0.01928, allocations: 3.97 MB / 355 MB, free: 9.688 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=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.094957493012771]