Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 196 kB / 18.1 MB, free: 3.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009205/0.0009206, allocations: 104.6 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 8 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4826, allocations: 91.16 MB / 0.4888 GB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4829, allocations: 71.97 kB / 0.4889 GB, free: 288 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3948/0.8776, allocations: 35.88 MB / 0.5239 GB, free: 86.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8777, allocations: 0 / 0.5239 GB, free: 86.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.925e-05/0.8778, allocations: 18.19 kB / 0.5239 GB, free: 86.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002298/0.8801, allocations: 0.8901 MB / 0.5248 GB, free: 85.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8801, allocations: 9.688 kB / 0.5248 GB, free: 85.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.8803, allocations: 44.81 kB / 0.5248 GB, free: 85.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008405/0.8811, allocations: 464.3 kB / 0.5253 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.8812, allocations: 18.59 kB / 0.5253 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.8813, allocations: 31.06 kB / 0.5253 GB, free: 85.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.8817, allocations: 331.5 kB / 0.5256 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8818, allocations: 192 / 0.5256 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.8818, allocations: 15.03 kB / 0.5257 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.8818, allocations: 5.531 kB / 0.5257 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.8821, allocations: 147.9 kB / 0.5258 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.8833, allocations: 0.6791 MB / 0.5265 GB, free: 84.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/0.8839, allocations: 333.5 kB / 0.5268 GB, free: 84.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.8841, allocations: 104 kB / 0.5269 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.8841, allocations: 7.938 kB / 0.5269 GB, free: 84.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.8842, allocations: 34.56 kB / 0.5269 GB, free: 84.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.8842, allocations: 4 kB / 0.5269 GB, free: 84.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006241/0.8848, allocations: 391.5 kB / 0.5273 GB, free: 84.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.8849, allocations: 367.7 kB / 0.5277 GB, free: 83.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.8853, allocations: 408.1 kB / 0.528 GB, free: 83.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.8853, allocations: 29.7 kB / 0.5281 GB, free: 83.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.8854, allocations: 195.9 kB / 0.5283 GB, free: 83.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.8855, allocations: 78.67 kB / 0.5283 GB, free: 83.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.703e-05/0.8855, allocations: 4 kB / 0.5283 GB, free: 83.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.8856, allocations: 361.9 kB / 0.5287 GB, free: 82.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.8859, allocations: 195.7 kB / 0.5289 GB, free: 82.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.8862, allocations: 312.8 kB / 0.5292 GB, free: 82.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.8867, allocations: 394.5 kB / 0.5295 GB, free: 81.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8867, allocations: 0 / 0.5295 GB, free: 81.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009419/0.8877, allocations: 0.6355 MB / 0.5302 GB, free: 81.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.8877, allocations: 11.88 kB / 0.5302 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.512e-05/0.8878, allocations: 11.94 kB / 0.5302 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.8882, allocations: 128.4 kB / 0.5303 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.8884, allocations: 63.66 kB / 0.5304 GB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.8911, allocations: 4.23 MB / 0.5345 GB, free: 76.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.8915, allocations: 47.36 kB / 0.5345 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/0.8915, allocations: 12 kB / 0.5346 GB, free: 76.76 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.8918, allocations: 176.5 kB / 0.5347 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.8919, allocations: 35.53 kB / 0.5348 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.14e-05/0.892, allocations: 46.84 kB / 0.5348 GB, free: 76.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.892, allocations: 11.59 kB / 0.5348 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.892, allocations: 0 / 0.5348 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8921, allocations: 0 / 0.5348 GB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.8924, allocations: 351.6 kB / 0.5351 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.8924, allocations: 0 / 0.5351 GB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.8927, allocations: 51.67 kB / 0.5352 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.8927, allocations: 0 / 0.5352 GB, free: 76.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.8927, allocations: 15.94 kB / 0.5352 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8927, allocations: 3.688 kB / 0.5352 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.8927, allocations: 3.844 kB / 0.5352 GB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.8933, allocations: 0.4991 MB / 0.5357 GB, free: 75.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.8934, allocations: 112.5 kB / 0.5358 GB, free: 75.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.8935, allocations: 27.5 kB / 0.5358 GB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.8936, allocations: 15.89 kB / 0.5359 GB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.8937, allocations: 7.953 kB / 0.5359 GB, free: 75.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.8937, allocations: 11.94 kB / 0.5359 GB, free: 75.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.894, allocations: 265.9 kB / 0.5361 GB, free: 75.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.894, allocations: 4 kB / 0.5361 GB, free: 75.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002493/0.8965, allocations: 0.6909 MB / 0.5368 GB, free: 74.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002712/0.8992, allocations: 0.7151 MB / 0.5375 GB, free: 73.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.9005, allocations: 0.9556 MB / 0.5384 GB, free: 72.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9005, allocations: 0 / 0.5384 GB, free: 72.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.9007, allocations: 118.6 kB / 0.5386 GB, free: 72.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.9013, allocations: 114.2 kB / 0.5387 GB, free: 72.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.9026, allocations: 1.018 MB / 0.5397 GB, free: 71.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.9029, allocations: 0.8382 MB / 0.5405 GB, free: 71.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002121/0.9031, allocations: 68.45 kB / 0.5405 GB, free: 71.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.9032, allocations: 35.09 kB / 0.5406 GB, free: 70.99 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.9032, allocations: 0 / 0.5406 GB, free: 70.99 MB / 378.7 MB Notification: Performance of Templates: time 0.02062/0.9238, allocations: 12.47 MB / 0.5527 GB, free: 59.16 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches