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) 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) 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=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/ModelicaServices trunk/package.mo): time 0.001131/0.001136, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3542, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002906/0.3572, allocations: 1.692 MB / 410.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.3581, allocations: 0.5104 MB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3582, allocations: 7.938 kB / 411.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3584, allocations: 15.81 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.3585, allocations: 23.78 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.3587, allocations: 47.94 kB / 411.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3588, allocations: 115.6 kB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.359, allocations: 33.05 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.3591, allocations: 35.84 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.496e-05/0.3592, allocations: 47.66 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.3592, allocations: 8 kB / 411.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.3592, allocations: 8 kB / 411.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.3592, allocations: 19.92 kB / 411.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.3593, allocations: 55.66 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3594, allocations: 91.45 kB / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3595, allocations: 0 / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3595, allocations: 0 / 411.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3595, allocations: 4 kB / 411.9 MB, free: 14.9 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.000559/0.36, allocations: 426.9 kB / 412.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3601, allocations: 12.03 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3601, allocations: 12.84 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3604, allocations: 228.2 kB / 412.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3604, allocations: 16.33 kB / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3605, allocations: 12.12 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.3607, allocations: 126.6 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3607, allocations: 0 / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3608, allocations: 4 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3608, allocations: 7.938 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.361, allocations: 71.89 kB / 412.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.3617, allocations: 0.536 MB / 413.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.362, allocations: 138.4 kB / 413.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3622, allocations: 60.81 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3622, allocations: 0 / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3623, allocations: 34.56 kB / 413.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 8.72e-07/0.3623, allocations: 0 / 413.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001158/0.3634, allocations: 0.5097 MB / 414.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.3635, allocations: 55.41 kB / 414.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3637, allocations: 157.2 kB / 414.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3637, allocations: 29.7 kB / 414.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3638, allocations: 108 kB / 414.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3639, allocations: 43.58 kB / 414.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-05/0.3639, allocations: 41.7 kB / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3641, allocations: 322.8 kB / 414.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3642, allocations: 51.95 kB / 414.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3644, allocations: 75.39 kB / 415 MB, free: 11.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.3647, allocations: 138.9 kB / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3647, allocations: 0 / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003571/0.365, allocations: 185.4 kB / 415.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.3651, allocations: 4 kB / 415.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3651, allocations: 8.875 kB / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3651, allocations: 0 / 415.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3653, allocations: 35.97 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3653, allocations: 0 / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.3654, allocations: 20.08 kB / 415.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.3654, allocations: 4 kB / 415.4 MB, free: 11.18 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.432e-05/0.3655, allocations: 129.7 kB / 415.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3655, allocations: 11.91 kB / 415.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.125e-05/0.3656, allocations: 20.66 kB / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3656, allocations: 0 / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3656, allocations: 3.938 kB / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3656, allocations: 3.984 kB / 415.5 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.3664, allocations: 500 kB / 416 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3664, allocations: 7.938 kB / 416 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3665, allocations: 35.98 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.3666, allocations: 7.984 kB / 416.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3666, allocations: 0 / 416.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3666, allocations: 3.984 kB / 416.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3666, allocations: 4 kB / 416.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005431/0.3671, allocations: 317 kB / 416.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.3672, allocations: 89.02 kB / 416.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.3672, allocations: 4 kB / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.3673, allocations: 12.03 kB / 416.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.3674, allocations: 15.92 kB / 416.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3674, allocations: 8 kB / 416.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.972e-05/0.3675, allocations: 111.2 kB / 416.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.3675, allocations: 0 / 416.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.3678, allocations: 23.94 kB / 416.6 MB, free: 9.777 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.0001233/0.3679, allocations: 99.19 kB / 416.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.3683, allocations: 128 kB / 416.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3683, allocations: 3.938 kB / 416.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.3685, allocations: 67.89 kB / 416.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3689, allocations: 48.48 kB / 417 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000611/0.3695, allocations: 319.8 kB / 417.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.3698, allocations: 0.7084 MB / 418 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3699, allocations: 13.44 kB / 418 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.37, allocations: 15.44 kB / 418 MB, free: 8.324 MB / 334.1 MB Notification: Performance of SimCode: time 1.593e-06/0.37, allocations: 0 / 418 MB, free: 8.324 MB / 334.1 MB Notification: Performance of Templates: time 0.0042/0.3742, allocations: 1.714 MB / 419.7 MB, free: 6.629 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches