Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 106.3 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008686/0.0008686, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1842, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00223/0.1864, allocations: 1.671 MB / 408.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.1905, allocations: 3.601 MB / 412.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.436e-05/0.1907, allocations: 3.938 kB / 412.3 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.191, allocations: 47.83 kB / 412.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.191, allocations: 11.86 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.1932, allocations: 1.075 MB / 413.4 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1934, allocations: 135.7 kB / 413.6 MB, free: 21.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.801e-05/0.1935, allocations: 26.64 kB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.1935, allocations: 51.78 kB / 413.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.608e-05/0.1936, allocations: 59.7 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1936, allocations: 4 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.1947, allocations: 1.37 MB / 415.1 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.1947, allocations: 35.83 kB / 415.1 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.1948, allocations: 47.67 kB / 415.2 MB, free: 19.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.1955, allocations: 1.185 MB / 416.4 MB, free: 18.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1955, allocations: 8 kB / 416.4 MB, free: 18.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1955, allocations: 0 / 416.4 MB, free: 18.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1956, allocations: 0 / 416.4 MB, free: 18.47 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.0007478/0.1963, allocations: 0.5614 MB / 416.9 MB, free: 17.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1964, allocations: 16.58 kB / 416.9 MB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.1964, allocations: 12.75 kB / 417 MB, free: 17.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1966, allocations: 220 kB / 417.2 MB, free: 17.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.1966, allocations: 4.375 kB / 417.2 MB, free: 17.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1966, allocations: 8.375 kB / 417.2 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1968, allocations: 132.9 kB / 417.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1969, allocations: 3.938 kB / 417.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1969, allocations: 8 kB / 417.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1969, allocations: 3.938 kB / 417.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.197, allocations: 55.95 kB / 417.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1975, allocations: 384.4 kB / 417.8 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1978, allocations: 130.5 kB / 417.9 MB, free: 16.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.169e-05/0.1979, allocations: 36.84 kB / 417.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1979, allocations: 3.984 kB / 417.9 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.1979, allocations: 38.56 kB / 418 MB, free: 16.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.198, allocations: 4 kB / 418 MB, free: 16.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001763/0.1997, allocations: 1.21 MB / 419.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1998, allocations: 132.5 kB / 419.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.1999, allocations: 170.3 kB / 419.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1999, allocations: 34.92 kB / 419.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.1999, allocations: 104.5 kB / 419.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.2, allocations: 59.11 kB / 419.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.2001, allocations: 49.7 kB / 419.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.118e-05/0.2001, allocations: 326.8 kB / 420 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2003, allocations: 91.94 kB / 420.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2004, allocations: 136.9 kB / 420.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.2007, allocations: 208.8 kB / 420.5 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2007, allocations: 4 kB / 420.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000417/0.2011, allocations: 294.2 kB / 420.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2011, allocations: 8 kB / 420.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.2011, allocations: 0 / 420.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.2013, allocations: 44.81 kB / 420.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2015, allocations: 35.86 kB / 420.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000822/0.2023, allocations: 1.409 MB / 422.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.2024, allocations: 8.031 kB / 422.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2024, allocations: 8 kB / 422.3 MB, free: 12.04 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 8.219e-05/0.2025, allocations: 141.9 kB / 422.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.2026, allocations: 15.81 kB / 422.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.2026, allocations: 29.52 kB / 422.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2026, allocations: 0 / 422.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2026, allocations: 0 / 422.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2027, allocations: 0 / 422.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2028, allocations: 249.5 kB / 422.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2029, allocations: 0 / 422.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2031, allocations: 55.91 kB / 422.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2031, allocations: 4 kB / 422.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2031, allocations: 4 kB / 422.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2032, allocations: 0 / 422.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2032, allocations: 0 / 422.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.2056, allocations: 2.317 MB / 425.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.2056, allocations: 85.11 kB / 425.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.2056, allocations: 0 / 425.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2057, allocations: 16.02 kB / 425.2 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.2058, allocations: 11.92 kB / 425.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2058, allocations: 4 kB / 425.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.2059, allocations: 128.2 kB / 425.3 MB, free: 8.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2059, allocations: 4 kB / 425.3 MB, free: 8.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001323/0.2072, allocations: 0.5273 MB / 425.8 MB, free: 8.254 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.0008397/0.208, allocations: 0.5357 MB / 426.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.2086, allocations: 400.3 kB / 426.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2086, allocations: 7.938 kB / 426.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.2087, allocations: 94.84 kB / 426.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.209, allocations: 27.98 kB / 426.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.2096, allocations: 0.6004 MB / 427.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2098, allocations: 0.7362 MB / 428.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.571e-05/0.2099, allocations: 41.05 kB / 428.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.2099, allocations: 15.44 kB / 428.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2099, allocations: 0 / 428.3 MB, free: 5.719 MB / 298.7 MB Notification: Performance of Templates: time 0.01075/0.2207, allocations: 8.442 MB / 436.7 MB, free: 13.27 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches