Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001091/0.001091, allocations: 88.44 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 12 kB / 327 MB, free: 240 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4514, allocations: 89.3 MB / 463.8 MB, free: 7.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4517, allocations: 79.97 kB / 463.9 MB, free: 7.398 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04438/0.4961, allocations: 9.929 MB / 473.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4962, allocations: 0 / 473.8 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.815e-05/0.4962, allocations: 12 kB / 473.8 MB, free: 13.45 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001285/0.4975, allocations: 0.5683 MB / 474.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4976, allocations: 8.031 kB / 474.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.4977, allocations: 35.62 kB / 474.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008457/0.4986, allocations: 358.8 kB / 474.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.4986, allocations: 12.19 kB / 474.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/0.4987, allocations: 12 kB / 474.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.4992, allocations: 238.4 kB / 475.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4992, allocations: 4 kB / 475.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.4993, allocations: 8 kB / 475.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4993, allocations: 4 kB / 475.1 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.4996, allocations: 84.5 kB / 475.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.5009, allocations: 0.4934 MB / 475.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.5013, allocations: 166.5 kB / 475.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5014, allocations: 0 / 475.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5014, allocations: 42.56 kB / 475.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5014, allocations: 3.938 kB / 475.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007415/0.5022, allocations: 231.6 kB / 476.1 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.5024, allocations: 290.7 kB / 476.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.5028, allocations: 243.7 kB / 476.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.5028, allocations: 33.7 kB / 476.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.503, allocations: 210.9 kB / 476.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-05/0.5031, allocations: 51.28 kB / 476.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.5031, allocations: 4 kB / 476.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5033, allocations: 322.8 kB / 477.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.5036, allocations: 95.94 kB / 477.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.504, allocations: 181.1 kB / 477.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.5043, allocations: 117.1 kB / 477.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5043, allocations: 0 / 477.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007685/0.5051, allocations: 293.2 kB / 477.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5051, allocations: 4 kB / 477.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-05/0.5052, allocations: 4 kB / 477.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.5052, allocations: 7.984 kB / 477.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004826/0.5057, allocations: 47.97 kB / 477.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5058, allocations: 7.953 kB / 478 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.506, allocations: 15.84 kB / 478 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.506, allocations: 11.98 kB / 478 MB, free: 8.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0002202/0.5063, allocations: 149.9 kB / 478.1 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.5063, allocations: 31.56 kB / 478.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.5064, allocations: 33.97 kB / 478.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5065, allocations: 0 / 478.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5065, allocations: 0 / 478.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5065, allocations: 3.953 kB / 478.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.5069, allocations: 273.5 kB / 478.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5069, allocations: 0 / 478.5 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.5073, allocations: 27.92 kB / 478.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5073, allocations: 4 kB / 478.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.5074, allocations: 4 kB / 478.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5074, allocations: 0 / 478.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.5074, allocations: 0 / 478.5 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.5081, allocations: 339 kB / 478.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.5082, allocations: 100.8 kB / 478.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.5083, allocations: 8.062 kB / 478.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.5085, allocations: 11.98 kB / 478.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5086, allocations: 4.125 kB / 479 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.5086, allocations: 8 kB / 479 MB, free: 7.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002852/0.5089, allocations: 203 kB / 479.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5089, allocations: 3.938 kB / 479.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005366/0.5095, allocations: 99.77 kB / 479.3 MB, free: 7.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0003263/0.5098, allocations: 147.2 kB / 479.4 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.5105, allocations: 289.8 kB / 479.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5105, allocations: 0 / 479.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.5107, allocations: 71.28 kB / 479.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005782/0.5113, allocations: 73.67 kB / 479.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.5129, allocations: 0.6509 MB / 480.5 MB, free: 6.332 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.5133, allocations: 0.7794 MB / 481.3 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.5135, allocations: 19.44 kB / 481.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5135, allocations: 0 / 481.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of Templates: time 0.009687/0.5232, allocations: 3.846 MB / 485.1 MB, free: 1.66 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches