Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 175.9 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 98.66 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005579/0.000558, allocations: 16 kB / 352.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3168, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4332, allocations: 90.17 MB / 492.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4335, allocations: 67.97 kB / 493 MB, free: 6.113 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02731/0.4608, allocations: 10.02 MB / 0.4912 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4609, allocations: 0 / 0.4912 GB, free: 12.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.4609, allocations: 12 kB / 0.4912 GB, free: 12.07 MB / 378.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.0008826/0.4618, allocations: 0.5724 MB / 0.4918 GB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4618, allocations: 8.031 kB / 0.4918 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.4619, allocations: 36.5 kB / 0.4918 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.4625, allocations: 356 kB / 0.4922 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.4625, allocations: 8.562 kB / 0.4922 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.4625, allocations: 16.38 kB / 0.4922 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.4629, allocations: 229 kB / 0.4924 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4629, allocations: 0 / 0.4924 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.4629, allocations: 8 kB / 0.4924 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4629, allocations: 0 / 0.4924 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.4631, allocations: 91.94 kB / 0.4925 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.4639, allocations: 0.5003 MB / 0.493 GB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.4642, allocations: 166.5 kB / 0.4931 GB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4643, allocations: 56.83 kB / 0.4932 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.4643, allocations: 4 kB / 0.4932 GB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.4644, allocations: 38.59 kB / 0.4932 GB, free: 9.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.4644, allocations: 0 / 0.4932 GB, free: 9.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004407/0.4648, allocations: 228.6 kB / 0.4935 GB, free: 9.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.465, allocations: 286.7 kB / 0.4937 GB, free: 9.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.4652, allocations: 284.5 kB / 0.494 GB, free: 8.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.4653, allocations: 29.7 kB / 0.494 GB, free: 8.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.4654, allocations: 156.5 kB / 0.4942 GB, free: 8.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.4654, allocations: 51.2 kB / 0.4942 GB, free: 8.691 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.4655, allocations: 4.109 kB / 0.4942 GB, free: 8.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4656, allocations: 350.7 kB / 0.4946 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4658, allocations: 95.89 kB / 0.4947 GB, free: 8.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.466, allocations: 176.9 kB / 0.4948 GB, free: 8.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4663, allocations: 206 kB / 0.495 GB, free: 7.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.4663, allocations: 4 kB / 0.495 GB, free: 7.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004464/0.4668, allocations: 293.2 kB / 0.4953 GB, free: 7.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4668, allocations: 4 kB / 0.4953 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.4668, allocations: 7.984 kB / 0.4953 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4669, allocations: 0 / 0.4953 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.4671, allocations: 51.97 kB / 0.4954 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4671, allocations: 0 / 0.4954 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.4673, allocations: 43.72 kB / 0.4954 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.4673, allocations: 4 kB / 0.4954 GB, free: 7.43 MB / 378.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.0001452/0.4675, allocations: 157.6 kB / 0.4956 GB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.4675, allocations: 23.72 kB / 0.4956 GB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.4676, allocations: 29.97 kB / 0.4956 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4676, allocations: 0 / 0.4956 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4676, allocations: 96 / 0.4956 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4676, allocations: 3.938 kB / 0.4956 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4679, allocations: 273.4 kB / 0.4959 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4679, allocations: 8 kB / 0.4959 GB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.4681, allocations: 23.98 kB / 0.4959 GB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4681, allocations: 7.922 kB / 0.4959 GB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.4681, allocations: 4 kB / 0.4959 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4681, allocations: 4 kB / 0.4959 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4681, allocations: 0 / 0.4959 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/0.4686, allocations: 343 kB / 0.4962 GB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.4687, allocations: 100.8 kB / 0.4963 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.4687, allocations: 8.062 kB / 0.4963 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.4688, allocations: 11.98 kB / 0.4964 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.4689, allocations: 11.98 kB / 0.4964 GB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4689, allocations: 0 / 0.4964 GB, free: 6.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.4691, allocations: 191.1 kB / 0.4966 GB, free: 6.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4691, allocations: 0 / 0.4966 GB, free: 6.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.4695, allocations: 91.92 kB / 0.4966 GB, free: 6.066 MB / 378.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.0002633/0.4698, allocations: 167 kB / 0.4968 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.4702, allocations: 276.9 kB / 0.4971 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4702, allocations: 0 / 0.4971 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4703, allocations: 71.91 kB / 0.4971 GB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.4708, allocations: 64.3 kB / 0.4972 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.4718, allocations: 0.6175 MB / 0.4978 GB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4721, allocations: 0.7677 MB / 0.4985 GB, free: 4.035 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.4723, allocations: 50.03 kB / 0.4986 GB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.4723, allocations: 23.44 kB / 0.4986 GB, free: 3.965 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4723, allocations: 0 / 0.4986 GB, free: 3.965 MB / 378.7 MB Notification: Performance of Templates: time 0.007211/0.4796, allocations: 3.516 MB / 0.5021 GB, free: 492 kB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches