Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.4 MB / 223.1 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008353/0.0008352, allocations: 92.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002519/0.0002519, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3046, allocations: 47.57 MB / 375.8 MB, free: 45.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.4226, allocations: 89.44 MB / 465.2 MB, free: 7.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4229, allocations: 75.95 kB / 465.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04446/0.4674, allocations: 16.89 MB / 482.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4674, allocations: 0 / 482.2 MB, free: 6.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.4674, allocations: 7.938 kB / 482.2 MB, free: 6.203 MB / 362.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.00122/0.4687, allocations: 0.5689 MB / 482.8 MB, free: 5.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.4687, allocations: 8.031 kB / 482.8 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.845e-05/0.4688, allocations: 15.81 kB / 482.8 MB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.4691, allocations: 226.8 kB / 483 MB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4692, allocations: 15.89 kB / 483 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.4692, allocations: 4 kB / 483 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.4695, allocations: 141.9 kB / 483.2 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4695, allocations: 3.938 kB / 483.2 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.4696, allocations: 0 / 483.2 MB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.4696, allocations: 4 kB / 483.2 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.4697, allocations: 63.89 kB / 483.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.4705, allocations: 388.5 kB / 483.6 MB, free: 4.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.4708, allocations: 130.5 kB / 483.7 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.4709, allocations: 3.984 kB / 483.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4709, allocations: 38.78 kB / 483.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4709, allocations: 0 / 483.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002357/0.4733, allocations: 1.23 MB / 485 MB, free: 3.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.4734, allocations: 132.5 kB / 485.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.4735, allocations: 154 kB / 485.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.4736, allocations: 29.7 kB / 485.3 MB, free: 2.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.4736, allocations: 112.4 kB / 485.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.4737, allocations: 55.25 kB / 485.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.4737, allocations: 0 / 485.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4738, allocations: 334.8 kB / 485.8 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.474, allocations: 95.94 kB / 485.9 MB, free: 2.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4742, allocations: 132 kB / 486 MB, free: 1.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4744, allocations: 113.9 kB / 486.2 MB, free: 1.875 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4744, allocations: 0 / 486.2 MB, free: 1.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005505/0.475, allocations: 310.1 kB / 486.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.475, allocations: 8 kB / 486.5 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.475, allocations: 3.984 kB / 486.5 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.4752, allocations: 44.77 kB / 486.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.4754, allocations: 31.98 kB / 486.5 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.4768, allocations: 1.413 MB / 488 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.4769, allocations: 12.27 kB / 488 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.4769, allocations: 12 kB / 488 MB, free: 15.91 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4771, allocations: 135.8 kB / 488.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.4771, allocations: 19.81 kB / 488.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.4772, allocations: 25.52 kB / 488.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4772, allocations: 0 / 488.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4772, allocations: 0 / 488.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4772, allocations: 3.938 kB / 488.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4775, allocations: 253.5 kB / 488.4 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4775, allocations: 4 kB / 488.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.4777, allocations: 51.97 kB / 488.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4778, allocations: 0 / 488.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4778, allocations: 0 / 488.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4778, allocations: 4.656 kB / 488.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4778, allocations: 0 / 488.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.4783, allocations: 423 kB / 488.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.4784, allocations: 89.06 kB / 489 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4784, allocations: 12.02 kB / 489 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.4786, allocations: 8 kB / 489 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4786, allocations: 7.984 kB / 489 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4786, allocations: 7.938 kB / 489 MB, free: 14.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.212e-05/0.4787, allocations: 119.2 kB / 489.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4787, allocations: 4 kB / 489.1 MB, free: 14.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001768/0.4805, allocations: 0.5428 MB / 489.7 MB, free: 14.12 MB / 378.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 (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.001181/0.4817, allocations: 0.5546 MB / 490.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.4824, allocations: 398.4 kB / 490.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4824, allocations: 0 / 490.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.4826, allocations: 89.3 kB / 490.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.4829, allocations: 32.97 kB / 490.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.4836, allocations: 444.6 kB / 491.2 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.484, allocations: 0.7363 MB / 491.9 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.4841, allocations: 37 kB / 491.9 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4841, allocations: 19.44 kB / 492 MB, free: 11.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4841, allocations: 0 / 492 MB, free: 11.76 MB / 378.7 MB Notification: Performance of Templates: time 0.01519/0.4993, allocations: 7.691 MB / 499.6 MB, free: 4.07 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches