Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001792, allocations: 105.3 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.29/2.29, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 47.22 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 49.45 MB / 350 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.005431/0.1493, allocations: 1.666 MB / 351.7 MB, free: 3.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009898/0.1593, allocations: 3.543 MB / 355.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.1595, allocations: 7.938 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005378/0.1602, allocations: 43.81 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1604, allocations: 11.88 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.1664, allocations: 1.061 MB / 356.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1669, allocations: 131.7 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1671, allocations: 33.33 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1672, allocations: 55.77 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.1674, allocations: 47.72 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.1674, allocations: 4 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/0.1706, allocations: 1.366 MB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1708, allocations: 35.89 kB / 358 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1709, allocations: 47.67 kB / 358.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.1728, allocations: 1.092 MB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.1728, allocations: 0 / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1728, allocations: 0 / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1729, allocations: 0 / 359.2 MB, free: 11.71 MB / 302.1 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.001907/0.1748, allocations: 0.5575 MB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.1749, allocations: 12.03 kB / 359.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.175, allocations: 20.75 kB / 359.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.1754, allocations: 216 kB / 360 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.1755, allocations: 12.12 kB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.1756, allocations: 15.92 kB / 360 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.176, allocations: 121.1 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.176, allocations: 3.938 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1761, allocations: 4 kB / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1761, allocations: 0 / 360.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.1764, allocations: 59.95 kB / 360.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.1774, allocations: 380.4 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.1781, allocations: 134.5 kB / 360.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1784, allocations: 48.83 kB / 360.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1784, allocations: 4 kB / 360.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.1785, allocations: 30.56 kB / 360.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.006e-06/0.1785, allocations: 0 / 360.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.004286/0.1828, allocations: 1.21 MB / 362 MB, free: 8.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.183, allocations: 129.7 kB / 362.1 MB, free: 8.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.1833, allocations: 183.4 kB / 362.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.1834, allocations: 29.7 kB / 362.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1835, allocations: 108.5 kB / 362.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.779e-05/0.1836, allocations: 51.2 kB / 362.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1838, allocations: 45.7 kB / 362.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.184, allocations: 326.8 kB / 362.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.1843, allocations: 95.88 kB / 362.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.1847, allocations: 147.2 kB / 363.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.1852, allocations: 196.8 kB / 363.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1853, allocations: 0 / 363.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009566/0.1862, allocations: 310.3 kB / 363.6 MB, free: 6.926 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.1863, allocations: 4 kB / 363.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.1863, allocations: 3.938 kB / 363.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.1867, allocations: 48.75 kB / 363.6 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.187, allocations: 35.98 kB / 363.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.1895, allocations: 1.401 MB / 365.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.1897, allocations: 4.031 kB / 365.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.1898, allocations: 11.94 kB / 365.1 MB, free: 5.277 MB / 302.1 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 0.0003315/0.1902, allocations: 133.8 kB / 365.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.1903, allocations: 15.81 kB / 365.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.426e-05/0.1904, allocations: 29.52 kB / 365.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1904, allocations: 4.094 kB / 365.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1904, allocations: 0 / 365.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1904, allocations: 0 / 365.3 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.1911, allocations: 257.5 kB / 365.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1911, allocations: 0 / 365.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004813/0.1916, allocations: 51.91 kB / 365.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1916, allocations: 0 / 365.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.1916, allocations: 4 kB / 365.6 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1916, allocations: 3.938 kB / 365.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1917, allocations: 4 kB / 365.6 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1927, allocations: 413.4 kB / 366 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.1928, allocations: 92.95 kB / 366.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1929, allocations: 11.94 kB / 366.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1931, allocations: 4 kB / 366.1 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.1932, allocations: 11.98 kB / 366.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1932, allocations: 0 / 366.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1934, allocations: 139.4 kB / 366.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1934, allocations: 0 / 366.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002674/0.1961, allocations: 0.5156 MB / 366.7 MB, free: 3.52 MB / 302.1 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.002253/0.1983, allocations: 0.5363 MB / 367.3 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1995, allocations: 389.9 kB / 367.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1995, allocations: 4 kB / 367.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.1998, allocations: 91.83 kB / 367.8 MB, free: 2.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.2004, allocations: 35.91 kB / 367.8 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2017, allocations: 481.8 kB / 368.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.2022, allocations: 0.7283 MB / 369 MB, free: 1.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.2023, allocations: 15.44 kB / 369 MB, free: 1.172 MB / 302.1 MB Notification: Performance of SimCode: time 1.824e-06/0.2024, allocations: 4 kB / 369 MB, free: 1.168 MB / 302.1 MB Notification: Performance of Templates: time 0.2463/0.4487, allocations: 6.178 MB / 375.2 MB, free: 24.63 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches