Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 59.91 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1077, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003276/0.111, allocations: 1.698 MB / 429.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.112, allocations: 0.5143 MB / 430 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.1121, allocations: 4 kB / 430 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1122, allocations: 15.8 kB / 430.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.1123, allocations: 23.78 kB / 430.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.1124, allocations: 47.89 kB / 430.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1126, allocations: 115.6 kB / 430.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1127, allocations: 21.09 kB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.1128, allocations: 43.78 kB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.1129, allocations: 55.66 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1129, allocations: 8 kB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.878e-05/0.1129, allocations: 8 kB / 430.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.1129, allocations: 15.92 kB / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.113, allocations: 51.72 kB / 430.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1132, allocations: 91.45 kB / 430.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1132, allocations: 0 / 430.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1132, allocations: 4 kB / 430.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1132, allocations: 3.938 kB / 430.5 MB, free: 1.766 MB / 350.1 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.0006276/0.1138, allocations: 426.9 kB / 431 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1138, allocations: 12.03 kB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1139, allocations: 12.84 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1142, allocations: 223.5 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1142, allocations: 4.375 kB / 431.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.1143, allocations: 20.08 kB / 431.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.1146, allocations: 138.9 kB / 431.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1146, allocations: 3.938 kB / 431.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1146, allocations: 4 kB / 431.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1146, allocations: 0 / 431.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.1148, allocations: 67.94 kB / 431.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.1156, allocations: 0.5516 MB / 432 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.1159, allocations: 130.4 kB / 432.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1161, allocations: 56.81 kB / 432.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1161, allocations: 0 / 432.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1162, allocations: 34.56 kB / 432.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1162, allocations: 0 / 432.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001191/0.1173, allocations: 0.5059 MB / 432.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1174, allocations: 55.41 kB / 432.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1176, allocations: 154.2 kB / 432.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1176, allocations: 25.7 kB / 432.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.1177, allocations: 116.9 kB / 433.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.1178, allocations: 43.64 kB / 433.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1178, allocations: 29.7 kB / 433.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.118, allocations: 330.8 kB / 433.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1181, allocations: 51.91 kB / 433.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.1183, allocations: 91.38 kB / 433.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1186, allocations: 131.3 kB / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1186, allocations: 0 / 433.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004011/0.119, allocations: 180 kB / 433.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.119, allocations: 8 kB / 433.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.119, allocations: 7.875 kB / 433.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.119, allocations: 3.984 kB / 433.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.1192, allocations: 35.98 kB / 433.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1193, allocations: 7.938 kB / 434 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/0.1193, allocations: 11.98 kB / 434 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1193, allocations: 4 kB / 434 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001083/0.1194, allocations: 125.9 kB / 434.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1195, allocations: 15.91 kB / 434.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.1195, allocations: 16.66 kB / 434.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1195, allocations: 4 kB / 434.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1195, allocations: 0 / 434.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1195, allocations: 0 / 434.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.1204, allocations: 500 kB / 434.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1204, allocations: 4 kB / 434.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1205, allocations: 35.91 kB / 434.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1205, allocations: 0 / 434.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1205, allocations: 8 kB / 434.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1205, allocations: 4.062 kB / 434.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1205, allocations: 0 / 434.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.1211, allocations: 328.9 kB / 435 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1212, allocations: 89.02 kB / 435.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1212, allocations: 4 kB / 435.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1213, allocations: 16.03 kB / 435.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.1214, allocations: 7.984 kB / 435.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1214, allocations: 4 kB / 435.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1215, allocations: 116.1 kB / 435.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1215, allocations: 0 / 435.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1218, allocations: 24 kB / 435.2 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001173/0.1219, allocations: 95.19 kB / 435.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1223, allocations: 123.8 kB / 435.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1223, allocations: 0 / 435.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1224, allocations: 72.12 kB / 435.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1228, allocations: 40.03 kB / 435.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006737/0.1235, allocations: 353.4 kB / 435.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1239, allocations: 0.7083 MB / 436.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.645e-05/0.1239, allocations: 15.44 kB / 436.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1239, allocations: 0 / 436.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of Templates: time 0.003785/0.1277, allocations: 1.705 MB / 438.3 MB, free: 9.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.961937256157398]