Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001892/0.001892, allocations: 181.5 kB / 17.41 MB, free: 4.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.107/3.107, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 89.34 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000524/0.0005243, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5341, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.7023, allocations: 76.57 MB / 452.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.7027, allocations: 67.97 kB / 452.4 MB, free: 4.004 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009769/0.7125, allocations: 2.396 MB / 454.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7126, allocations: 3.938 kB / 454.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.7126, allocations: 8 kB / 454.8 MB, free: 1.59 MB / 330.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.0008109/0.7134, allocations: 423.1 kB / 455.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.7135, allocations: 12.03 kB / 455.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.7136, allocations: 12.75 kB / 455.2 MB, free: 1.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.714, allocations: 213.2 kB / 455.4 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.7141, allocations: 8.375 kB / 455.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.7141, allocations: 12.38 kB / 455.4 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.7146, allocations: 142.4 kB / 455.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.7146, allocations: 0 / 455.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.7146, allocations: 4 kB / 455.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.7146, allocations: 4 kB / 455.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.7149, allocations: 83.88 kB / 455.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.7161, allocations: 0.5593 MB / 456.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005885/0.7167, allocations: 142.9 kB / 456.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.717, allocations: 72.75 kB / 456.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.717, allocations: 0 / 456.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.7171, allocations: 30.56 kB / 456.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.7171, allocations: 3.938 kB / 456.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001915/0.719, allocations: 0.5328 MB / 457 MB, free: 15.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.7191, allocations: 55.39 kB / 457 MB, free: 15.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.7194, allocations: 146.8 kB / 457.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.7194, allocations: 25.7 kB / 457.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.7195, allocations: 108.2 kB / 457.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.7196, allocations: 51.39 kB / 457.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.7196, allocations: 0 / 457.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.7199, allocations: 322.8 kB / 457.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.7201, allocations: 59.95 kB / 457.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.7204, allocations: 94 kB / 457.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.7209, allocations: 144.8 kB / 458 MB, free: 14.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.7209, allocations: 3.938 kB / 458 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006315/0.7215, allocations: 185.4 kB / 458.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.7216, allocations: 4 kB / 458.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7216, allocations: 0 / 458.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.7216, allocations: 7.938 kB / 458.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.7219, allocations: 31.98 kB / 458.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.722, allocations: 12.75 kB / 458.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.7221, allocations: 19.98 kB / 458.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7221, allocations: 4 kB / 458.2 MB, free: 13.8 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 () * Number of clocked 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 0.0001979/0.7223, allocations: 121.8 kB / 458.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.7224, allocations: 7.906 kB / 458.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.96e-05/0.7225, allocations: 12.72 kB / 458.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.7225, allocations: 7.938 kB / 458.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.7225, allocations: 0 / 458.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.7225, allocations: 3.938 kB / 458.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.7236, allocations: 491 kB / 458.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.7237, allocations: 7.984 kB / 458.9 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.7239, allocations: 36.02 kB / 458.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.7239, allocations: 0 / 458.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7239, allocations: 4 kB / 458.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/0.724, allocations: 4 kB / 458.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.724, allocations: 0 / 458.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.7248, allocations: 328.1 kB / 459.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.7249, allocations: 88.95 kB / 459.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.7249, allocations: 4 kB / 459.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.7251, allocations: 19.98 kB / 459.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.7252, allocations: 15.92 kB / 459.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.7252, allocations: 4 kB / 459.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.7253, allocations: 115.9 kB / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7253, allocations: 0 / 459.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.7258, allocations: 20 kB / 459.5 MB, free: 12.44 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 () * Number of clocked 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.0002171/0.726, allocations: 95.25 kB / 459.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.7265, allocations: 139.8 kB / 459.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7266, allocations: 0 / 459.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.7268, allocations: 72.08 kB / 459.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.7275, allocations: 40.55 kB / 459.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.7286, allocations: 390.2 kB / 460.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.7291, allocations: 0.7048 MB / 460.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.7292, allocations: 15.44 kB / 460.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.7292, allocations: 0 / 460.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of Templates: time 0.005721/0.7349, allocations: 1.631 MB / 462.6 MB, free: 9.305 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.SlewRateLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches