Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 184.7 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 51.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002886/0.264, allocations: 1.654 MB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008573/0.2648, allocations: 451 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.025e-05/0.2649, allocations: 3.938 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.265, allocations: 23.8 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.2651, allocations: 31.72 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2653, allocations: 47.95 kB / 425.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2655, allocations: 123.5 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2656, allocations: 21.09 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.2657, allocations: 43.8 kB / 425.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.37e-05/0.2658, allocations: 43.66 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.2658, allocations: 8 kB / 425.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.2658, allocations: 8 kB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.2659, allocations: 19.92 kB / 425.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.2659, allocations: 47.78 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2661, allocations: 93.91 kB / 425.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2661, allocations: 0 / 425.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2661, allocations: 0 / 425.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.2661, allocations: 0 / 425.7 MB, free: 11.87 MB / 334.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.000635/0.2667, allocations: 353.7 kB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2668, allocations: 8.031 kB / 426 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.2668, allocations: 16.84 kB / 426 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2671, allocations: 172.6 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2671, allocations: 8 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2672, allocations: 8 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.2674, allocations: 128.2 kB / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2675, allocations: 3.938 kB / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2675, allocations: 4 kB / 426.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2675, allocations: 4 kB / 426.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.2677, allocations: 75.94 kB / 426.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.2683, allocations: 484.5 kB / 426.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.2687, allocations: 126.4 kB / 427 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2688, allocations: 60.81 kB / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2688, allocations: 0 / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.2689, allocations: 34.56 kB / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.2689, allocations: 0 / 427.1 MB, free: 10.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001069/0.2699, allocations: 449.1 kB / 427.5 MB, free: 9.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.27, allocations: 55.41 kB / 427.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2701, allocations: 149.7 kB / 427.7 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2701, allocations: 33.7 kB / 427.8 MB, free: 9.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.2702, allocations: 108 kB / 427.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/0.2703, allocations: 47.58 kB / 427.9 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/0.2703, allocations: 33.72 kB / 428 MB, free: 9.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2705, allocations: 322.8 kB / 428.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.2706, allocations: 51.95 kB / 428.3 MB, free: 8.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.2708, allocations: 83.33 kB / 428.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.2711, allocations: 135.3 kB / 428.5 MB, free: 8.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2711, allocations: 3.938 kB / 428.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003698/0.2714, allocations: 177.1 kB / 428.7 MB, free: 8.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2714, allocations: 19.31 kB / 428.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2714, allocations: 0 / 428.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2715, allocations: 4 kB / 428.7 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.2716, allocations: 39.97 kB / 428.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2716, allocations: 3.938 kB / 428.8 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.2717, allocations: 11.98 kB / 428.8 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2717, allocations: 4 kB / 428.8 MB, free: 8.492 MB / 334.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 9.468e-05/0.2718, allocations: 117.8 kB / 428.9 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.2719, allocations: 19.88 kB / 428.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.924e-05/0.2719, allocations: 20.7 kB / 429 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2719, allocations: 4 kB / 429 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2719, allocations: 0 / 429 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2719, allocations: 0 / 429 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.2726, allocations: 435.6 kB / 429.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2726, allocations: 0 / 429.4 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2728, allocations: 35.91 kB / 429.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2728, allocations: 0 / 429.4 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2728, allocations: 4.75 kB / 429.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2728, allocations: 0 / 429.4 MB, free: 7.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2728, allocations: 4 kB / 429.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.2733, allocations: 324.9 kB / 429.7 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.2734, allocations: 19.98 kB / 429.8 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.2734, allocations: 8 kB / 429.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2735, allocations: 11.92 kB / 429.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.2735, allocations: 15.98 kB / 429.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.2735, allocations: 0 / 429.8 MB, free: 7.418 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.201e-05/0.2736, allocations: 115.2 kB / 429.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2736, allocations: 0 / 429.9 MB, free: 7.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.2739, allocations: 24 kB / 429.9 MB, free: 7.281 MB / 334.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.0001027/0.274, allocations: 99.19 kB / 430 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.2743, allocations: 123.8 kB / 430.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2743, allocations: 0 / 430.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2745, allocations: 64.22 kB / 430.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2748, allocations: 38.55 kB / 430.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.2755, allocations: 328.7 kB / 430.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.1e-05/0.2756, allocations: 98.72 kB / 430.7 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.2756, allocations: 13.42 kB / 430.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.2757, allocations: 15.44 kB / 430.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2757, allocations: 0 / 430.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of Templates: time 0.004862/0.2805, allocations: 1.952 MB / 432.7 MB, free: 4.531 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.523736387491226]