Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008766/0.0008766, allocations: 183.1 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.196/1.196, allocations: 225.7 MB / 243.2 MB, free: 10.23 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.0007255/0.0007255, allocations: 87.75 kB / 294.4 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.0002741, allocations: 7.938 kB / 354.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001265/0.1891, allocations: 1.292 MB / 405.9 MB, free: 30.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.1929, allocations: 5.218 MB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.062e-05/0.193, allocations: 3.938 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1933, allocations: 47.83 kB / 411.1 MB, free: 24.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.1934, allocations: 15.86 kB / 411.1 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.1953, allocations: 1.058 MB / 412.2 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1954, allocations: 139.6 kB / 412.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.1955, allocations: 26.66 kB / 412.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.1956, allocations: 47.77 kB / 412.4 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.1956, allocations: 47.72 kB / 412.5 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1956, allocations: 4 kB / 412.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.1966, allocations: 1.108 MB / 413.6 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.1966, allocations: 23.92 kB / 413.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.1967, allocations: 77.36 kB / 413.7 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007012/0.1974, allocations: 1.193 MB / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1974, allocations: 0 / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1974, allocations: 0 / 414.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1974, allocations: 0 / 414.9 MB, free: 20.65 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006145/0.198, allocations: 0.538 MB / 415.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.1981, allocations: 16.03 kB / 415.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.1981, allocations: 12.75 kB / 415.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1983, allocations: 216 kB / 415.6 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1983, allocations: 12.12 kB / 415.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1983, allocations: 8 kB / 415.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1985, allocations: 125 kB / 415.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1985, allocations: 4 kB / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1985, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1985, allocations: 0 / 415.8 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1987, allocations: 63.95 kB / 415.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1991, allocations: 388.4 kB / 416.2 MB, free: 19.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.1994, allocations: 126.6 kB / 416.4 MB, free: 19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.1994, allocations: 48.95 kB / 416.4 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.1995, allocations: 3.984 kB / 416.4 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.1995, allocations: 42.56 kB / 416.4 MB, free: 18.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.1995, allocations: 0 / 416.4 MB, free: 18.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001599/0.2011, allocations: 1.234 MB / 417.7 MB, free: 17.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.2011, allocations: 128.5 kB / 417.8 MB, free: 17.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.2012, allocations: 182.9 kB / 418 MB, free: 17.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.2013, allocations: 33.7 kB / 418 MB, free: 17.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.2013, allocations: 104.5 kB / 418.1 MB, free: 17.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.2013, allocations: 63.09 kB / 418.2 MB, free: 16.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.2013, allocations: 4 kB / 418.2 MB, free: 16.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.2014, allocations: 330.8 kB / 418.5 MB, free: 16.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2015, allocations: 91.95 kB / 418.6 MB, free: 16.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2017, allocations: 144.7 kB / 418.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002566/0.2019, allocations: 203.8 kB / 418.9 MB, free: 16.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2019, allocations: 0 / 418.9 MB, free: 16.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003956/0.2023, allocations: 306.2 kB / 419.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.2024, allocations: 7.938 kB / 419.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.2024, allocations: 3.984 kB / 419.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001438/0.2025, allocations: 40.83 kB / 419.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2027, allocations: 35.92 kB / 419.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007144/0.2034, allocations: 1.405 MB / 420.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.2035, allocations: 12.02 kB / 420.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2035, allocations: 7.938 kB / 420.7 MB, free: 14.24 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.2036, allocations: 138 kB / 420.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2036, allocations: 15.81 kB / 420.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.2037, allocations: 17.53 kB / 420.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2037, allocations: 4 kB / 420.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.2037, allocations: 0 / 420.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2037, allocations: 0 / 420.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2039, allocations: 253.5 kB / 421.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.2039, allocations: 0 / 421.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.2041, allocations: 51.91 kB / 421.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2041, allocations: 8 kB / 421.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.2042, allocations: 7.984 kB / 421.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2042, allocations: 0 / 421.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2042, allocations: 0 / 421.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.2046, allocations: 415.1 kB / 421.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.2046, allocations: 93.06 kB / 421.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.2046, allocations: 7.984 kB / 421.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2047, allocations: 4 kB / 421.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.2048, allocations: 16.03 kB / 421.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2048, allocations: 4.375 kB / 421.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.392e-05/0.2049, allocations: 135.1 kB / 421.9 MB, free: 13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2049, allocations: 0 / 421.9 MB, free: 13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009274/0.2058, allocations: 0.5078 MB / 422.4 MB, free: 12.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.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 (15): * Single equations (assignments): 15 * 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.0007809/0.2066, allocations: 0.5719 MB / 423 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2071, allocations: 391.1 kB / 423.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2071, allocations: 0 / 423.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2072, allocations: 99.88 kB / 423.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2075, allocations: 23.98 kB / 423.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.2079, allocations: 456.6 kB / 423.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.2081, allocations: 0.7283 MB / 424.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.394e-05/0.2082, allocations: 29.06 kB / 424.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2082, allocations: 19.44 kB / 424.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2082, allocations: 0 / 424.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of Templates: time 0.008991/0.2172, allocations: 7.739 MB / 432.4 MB, free: 2.383 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches