Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 180.3 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 225.7 MB / 243.2 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007891, allocations: 92.16 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.000219, allocations: 7.938 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1835, allocations: 50.42 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001245/0.1848, allocations: 1.483 MB / 406.1 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004441/0.1892, allocations: 5.562 MB / 411.6 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.1893, allocations: 11.88 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1897, allocations: 115.5 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.1898, allocations: 31.7 kB / 411.8 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.1925, allocations: 1.375 MB / 413.1 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1927, allocations: 287.1 kB / 413.4 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1928, allocations: 38.27 kB / 413.5 MB, free: 22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.193, allocations: 99.5 kB / 413.6 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.1931, allocations: 95.42 kB / 413.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1931, allocations: 4 kB / 413.7 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1933, allocations: 127.7 kB / 413.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.1934, allocations: 59.81 kB / 413.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.1935, allocations: 125 kB / 414 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1937, allocations: 318.9 kB / 414.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1938, allocations: 0 / 414.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1938, allocations: 0 / 414.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1938, allocations: 4 kB / 414.3 MB, free: 21.18 MB / 298.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.0005557/0.1943, allocations: 0.5306 MB / 414.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1944, allocations: 15.97 kB / 414.8 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1944, allocations: 28.56 kB / 414.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1947, allocations: 288.2 kB / 415.1 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1947, allocations: 19.92 kB / 415.2 MB, free: 20.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1947, allocations: 16 kB / 415.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.195, allocations: 198.1 kB / 415.4 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.195, allocations: 0 / 415.4 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.195, allocations: 11.94 kB / 415.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.195, allocations: 7.938 kB / 415.4 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1952, allocations: 83.94 kB / 415.5 MB, free: 19.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.1959, allocations: 0.4887 MB / 416 MB, free: 19.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1962, allocations: 162.5 kB / 416.1 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.994e-05/0.1963, allocations: 68.81 kB / 416.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1963, allocations: 0 / 416.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.1963, allocations: 38.56 kB / 416.2 MB, free: 19.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.1963, allocations: 0 / 416.2 MB, free: 19.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003553/0.1967, allocations: 217.4 kB / 416.4 MB, free: 18.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.1968, allocations: 298.7 kB / 416.7 MB, free: 18.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1969, allocations: 280.4 kB / 417 MB, free: 18.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.197, allocations: 33.69 kB / 417 MB, free: 18.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.197, allocations: 152.5 kB / 417.2 MB, free: 17.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1971, allocations: 47.27 kB / 417.2 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.1971, allocations: 11.98 kB / 417.2 MB, free: 17.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.1971, allocations: 334.8 kB / 417.6 MB, free: 17.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.1973, allocations: 99.94 kB / 417.7 MB, free: 17.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1975, allocations: 186.4 kB / 417.8 MB, free: 17.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1977, allocations: 216.3 kB / 418 MB, free: 17.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1977, allocations: 0 / 418 MB, free: 17.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003396/0.1981, allocations: 301.2 kB / 418.3 MB, free: 16.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1981, allocations: 4 kB / 418.3 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.1981, allocations: 4 kB / 418.4 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1981, allocations: 0 / 418.4 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.1984, allocations: 63.83 kB / 418.4 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1984, allocations: 3.984 kB / 418.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.1985, allocations: 27.78 kB / 418.4 MB, free: 16.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1985, allocations: 8 kB / 418.5 MB, free: 16.67 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.124e-05/0.1986, allocations: 157.2 kB / 418.6 MB, free: 16.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1986, allocations: 27.72 kB / 418.6 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.564e-05/0.1987, allocations: 29.91 kB / 418.7 MB, free: 16.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1987, allocations: 7.938 kB / 418.7 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.1987, allocations: 0 / 418.7 MB, free: 16.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1987, allocations: 3.984 kB / 418.7 MB, free: 16.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.1989, allocations: 265.5 kB / 418.9 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1989, allocations: 4 kB / 418.9 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.1991, allocations: 23.98 kB / 419 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1991, allocations: 7.984 kB / 419 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1991, allocations: 4 kB / 419 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1991, allocations: 3.938 kB / 419 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1991, allocations: 0 / 419 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.1995, allocations: 343.5 kB / 419.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.1995, allocations: 100.8 kB / 419.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.1996, allocations: 12.05 kB / 419.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1997, allocations: 7.938 kB / 419.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.1997, allocations: 7.984 kB / 419.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1997, allocations: 8 kB / 419.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1999, allocations: 191.1 kB / 419.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1999, allocations: 0 / 419.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.2002, allocations: 87.91 kB / 419.7 MB, free: 15.31 MB / 298.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 (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.0001847/0.2004, allocations: 151.2 kB / 419.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.2007, allocations: 283.6 kB / 420.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2007, allocations: 4 kB / 420.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.2008, allocations: 59.91 kB / 420.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.2012, allocations: 81.34 kB / 420.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000749/0.202, allocations: 0.6438 MB / 420.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.2022, allocations: 0.7677 MB / 421.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.2023, allocations: 45.91 kB / 421.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.2023, allocations: 23.44 kB / 421.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2023, allocations: 0 / 421.8 MB, free: 13.19 MB / 298.7 MB Notification: Performance of Templates: time 0.005933/0.2083, allocations: 3.564 MB / 425.3 MB, free: 9.641 MB / 298.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/jenkins/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