Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009547/0.0009547, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007912/0.0007911, allocations: 86.22 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.871e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.08365, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.287/0.3707, allocations: 76.01 MB / 439.1 MB, free: 3.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.371, allocations: 65.28 kB / 439.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006588/0.3776, allocations: 2.379 MB / 441.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3776, allocations: 0 / 441.5 MB, free: 1.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3776, allocations: 4 kB / 441.5 MB, free: 1.586 MB / 314.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.0004887/0.3781, allocations: 413.1 kB / 441.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3782, allocations: 8.031 kB / 441.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3782, allocations: 13.89 kB / 441.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.3785, allocations: 210.2 kB / 442.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3785, allocations: 0 / 442.2 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.3786, allocations: 11.95 kB / 442.2 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.871e-05/0.3787, allocations: 37.69 kB / 442.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3788, allocations: 102.7 kB / 442.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3788, allocations: 0 / 442.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3789, allocations: 0 / 442.3 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3789, allocations: 7.984 kB / 442.3 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.3796, allocations: 0.5082 MB / 442.8 MB, free: 232 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3797, allocations: 74.69 kB / 442.9 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.926e-05/0.3797, allocations: 35.16 kB / 442.9 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3798, allocations: 4 kB / 442.9 MB, free: 136 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3798, allocations: 35.31 kB / 443 MB, free: 92 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.3798, allocations: 0 / 443 MB, free: 92 kB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005468/0.3803, allocations: 341.3 kB / 443.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3804, allocations: 51.41 kB / 443.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3805, allocations: 136 kB / 443.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3805, allocations: 25.7 kB / 443.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.3806, allocations: 113.6 kB / 443.6 MB, free: 15.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3806, allocations: 41.52 kB / 443.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.3806, allocations: 0 / 443.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3808, allocations: 321.8 kB / 444 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.3808, allocations: 31.69 kB / 444 MB, free: 15.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.758e-05/0.3809, allocations: 49.92 kB / 444 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.317e-05/0.3809, allocations: 23.67 kB / 444.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3809, allocations: 4 kB / 444.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000149/0.3811, allocations: 105.1 kB / 444.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3811, allocations: 8 kB / 444.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3811, allocations: 0 / 444.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3811, allocations: 3.953 kB / 444.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3813, allocations: 47.53 kB / 444.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3813, allocations: 4.094 kB / 444.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.3814, allocations: 15.98 kB / 444.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3814, allocations: 4 kB / 444.3 MB, free: 14.79 MB / 330.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.3815, allocations: 116.8 kB / 444.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3816, allocations: 11.81 kB / 444.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/0.3816, allocations: 19.55 kB / 444.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3816, allocations: 0 / 444.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3816, allocations: 7.953 kB / 444.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3816, allocations: 0 / 444.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004457/0.3821, allocations: 372.2 kB / 444.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3821, allocations: 0 / 444.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.3822, allocations: 36.02 kB / 444.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3823, allocations: 0 / 444.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3823, allocations: 7.266 kB / 444.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3823, allocations: 8.031 kB / 444.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3823, allocations: 3.938 kB / 444.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.3825, allocations: 234.2 kB / 445.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.433e-05/0.3826, allocations: 85.02 kB / 445.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.3826, allocations: 11.95 kB / 445.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3828, allocations: 16.03 kB / 445.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.3828, allocations: 11.55 kB / 445.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.3828, allocations: 3.984 kB / 445.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.3829, allocations: 105.5 kB / 445.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3829, allocations: 4 kB / 445.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.3831, allocations: 19.94 kB / 445.3 MB, free: 13.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.3833, allocations: 95.23 kB / 445.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3834, allocations: 63.44 kB / 445.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3834, allocations: 4 kB / 445.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.3835, allocations: 30.88 kB / 445.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.3838, allocations: 35.41 kB / 445.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.3842, allocations: 199.6 kB / 445.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3845, allocations: 0.7162 MB / 446.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.3845, allocations: 17.2 kB / 446.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.3846, allocations: 15.44 kB / 446.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3846, allocations: 0 / 446.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Templates: time 0.00352/0.3881, allocations: 1.25 MB / 447.7 MB, free: 11.31 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches