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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Blocks.Examples.SlewRateLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001642/0.001642, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 225.6 MB / 234.8 MB, free: 3.25 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007816/0.0007818, allocations: 100.6 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.875e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 51.47 MB / 395.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4407, allocations: 77.4 MB / 472.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.441, allocations: 67.64 kB / 472.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006793/0.4478, allocations: 2.487 MB / 475.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4478, allocations: 0 / 475.1 MB, free: 12.63 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4478, allocations: 4.656 kB / 475.1 MB, free: 12.63 MB / 346.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.0004205/0.4483, allocations: 408.2 kB / 475.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4483, allocations: 8.031 kB / 475.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.4484, allocations: 11.91 kB / 475.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.4486, allocations: 206.5 kB / 475.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.4487, allocations: 4.859 kB / 475.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.4487, allocations: 7.906 kB / 475.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.4488, allocations: 46.97 kB / 475.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.449, allocations: 93.98 kB / 475.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.449, allocations: 4 kB / 475.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.449, allocations: 0 / 475.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.449, allocations: 0 / 475.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.4496, allocations: 0.5212 MB / 476.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4497, allocations: 72.2 kB / 476.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.4498, allocations: 33.02 kB / 476.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4498, allocations: 3.172 kB / 476.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4498, allocations: 38.62 kB / 476.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.4498, allocations: 0 / 476.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005052/0.4504, allocations: 337.3 kB / 476.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.4504, allocations: 53.09 kB / 476.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.4505, allocations: 132.8 kB / 477.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.4505, allocations: 25.7 kB / 477.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.4506, allocations: 111.7 kB / 477.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.4506, allocations: 41.92 kB / 477.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.4506, allocations: 0 / 477.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.4507, allocations: 326.4 kB / 477.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.4507, allocations: 22.25 kB / 477.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.4508, allocations: 53.02 kB / 477.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.4508, allocations: 26.62 kB / 477.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4508, allocations: 0 / 477.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001429/0.451, allocations: 111.7 kB / 477.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.451, allocations: 4 kB / 477.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.451, allocations: 0 / 477.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4511, allocations: 9.828 kB / 477.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.4512, allocations: 43.44 kB / 477.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4512, allocations: 4 kB / 477.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.22e-05/0.4513, allocations: 16.5 kB / 477.8 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.4513, allocations: 4 kB / 477.8 MB, free: 9.996 MB / 346.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 5.404e-05/0.4514, allocations: 108.4 kB / 477.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.4514, allocations: 11.81 kB / 478 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.4515, allocations: 13.48 kB / 478 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4515, allocations: 0 / 478 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4515, allocations: 7.953 kB / 478 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4515, allocations: 1.547 kB / 478 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.4519, allocations: 385.7 kB / 478.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4519, allocations: 0 / 478.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.4521, allocations: 29.91 kB / 478.4 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4521, allocations: 5.781 kB / 478.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4521, allocations: 3.953 kB / 478.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4521, allocations: 0 / 478.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4522, allocations: 5.344 kB / 478.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.4524, allocations: 239.9 kB / 478.6 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.4524, allocations: 86.61 kB / 478.7 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.4525, allocations: 3.953 kB / 478.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4526, allocations: 18.3 kB / 478.7 MB, free: 9.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4526, allocations: 17.33 kB / 478.8 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4527, allocations: 7.312 kB / 478.8 MB, free: 9.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.4527, allocations: 103.7 kB / 478.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4527, allocations: 1.875 kB / 478.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.453, allocations: 20 kB / 478.9 MB, free: 9.008 MB / 346.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.0001328/0.4531, allocations: 104.2 kB / 479 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.4533, allocations: 65.47 kB / 479 MB, free: 8.859 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4533, allocations: 4.188 kB / 479.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.4533, allocations: 32.81 kB / 479.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4537, allocations: 28.86 kB / 479.1 MB, free: 8.816 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.454, allocations: 191.8 kB / 479.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4542, allocations: 0.7208 MB / 480 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.4542, allocations: 9.531 kB / 480 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.4543, allocations: 18.69 kB / 480 MB, free: 7.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4543, allocations: 0 / 480 MB, free: 7.891 MB / 346.7 MB Notification: Performance of Templates: time 0.003508/0.4578, allocations: 1.25 MB / 481.3 MB, free: 7.211 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.makefile (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) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches