Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 227.7 MB / 247.7 MB, free: 10.33 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 69.41 kB / 307.9 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09438, allocations: 50.54 MB / 358.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003339/0.09776, allocations: 2.017 MB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.1041, allocations: 3.707 MB / 364.1 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.1043, allocations: 11.88 kB / 364.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005106/0.1049, allocations: 187.1 kB / 364.3 MB, free: 8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.105, allocations: 39.58 kB / 364.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004489/0.1095, allocations: 1.957 MB / 366.3 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006253/0.1102, allocations: 490.8 kB / 366.8 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1103, allocations: 53.06 kB / 366.9 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1105, allocations: 179.3 kB / 367 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.1108, allocations: 167.2 kB / 367.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.1109, allocations: 20 kB / 367.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.1134, allocations: 1.755 MB / 369 MB, free: 3.367 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.1137, allocations: 119.6 kB / 369.1 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1139, allocations: 162.9 kB / 369.3 MB, free: 3.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.1159, allocations: 1.777 MB / 371 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1159, allocations: 0 / 371 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.116, allocations: 3.938 kB / 371 MB, free: 1.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.116, allocations: 4 kB / 371 MB, free: 1.301 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001654/0.1176, allocations: 0.8958 MB / 371.9 MB, free: 360 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1177, allocations: 12.03 kB / 371.9 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.1178, allocations: 48.38 kB / 372 MB, free: 300 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1628/0.2806, allocations: 348.1 kB / 372.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.2806, allocations: 17.03 kB / 372.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.2807, allocations: 28.84 kB / 372.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.2813, allocations: 299.8 kB / 372.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2813, allocations: 1.719 kB / 372.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.2813, allocations: 14.75 kB / 372.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.2813, allocations: 2.938 kB / 372.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.2816, allocations: 148.5 kB / 372.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.2829, allocations: 0.6682 MB / 373.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.2836, allocations: 326.2 kB / 373.8 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2837, allocations: 102.8 kB / 373.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.2838, allocations: 2.75 kB / 373.9 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2838, allocations: 45.42 kB / 374 MB, free: 18.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.2838, allocations: 0 / 374 MB, free: 18.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007075/0.2845, allocations: 379.2 kB / 374.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.844e-05/0.2846, allocations: 373.8 kB / 374.7 MB, free: 18.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.285, allocations: 410.1 kB / 375.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.2851, allocations: 36.27 kB / 375.1 MB, free: 18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2852, allocations: 192.5 kB / 375.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.2853, allocations: 87.02 kB / 375.4 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2854, allocations: 100.3 kB / 375.5 MB, free: 17.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2855, allocations: 353.1 kB / 375.9 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.2858, allocations: 210.5 kB / 376.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.2862, allocations: 320.1 kB / 376.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.2868, allocations: 396.3 kB / 376.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2868, allocations: 0.6094 kB / 376.8 MB, free: 17.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001027/0.2878, allocations: 0.6514 MB / 377.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2878, allocations: 5.906 kB / 377.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.2879, allocations: 7.719 kB / 377.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.2883, allocations: 130.1 kB / 377.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.2886, allocations: 69.52 kB / 377.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.2912, allocations: 4.55 MB / 382.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2914, allocations: 49.33 kB / 382.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.2915, allocations: 9.594 kB / 382.2 MB, free: 12.38 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.2917, allocations: 183.8 kB / 382.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.2918, allocations: 40.98 kB / 382.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.2918, allocations: 45.33 kB / 382.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2918, allocations: 7.016 kB / 382.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2918, allocations: 1.188 kB / 382.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2919, allocations: 1.5 kB / 382.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.2922, allocations: 351.7 kB / 382.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2922, allocations: 0 / 382.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.2925, allocations: 46.67 kB / 382.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2925, allocations: 0.8125 kB / 382.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.2926, allocations: 11.94 kB / 382.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.2926, allocations: 1.953 kB / 382.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2926, allocations: 3.828 kB / 382.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.2932, allocations: 0.5119 MB / 383.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.2933, allocations: 112.2 kB / 383.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.193e-05/0.2933, allocations: 14.91 kB / 383.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.2935, allocations: 13.81 kB / 383.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.2936, allocations: 13.03 kB / 383.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2936, allocations: 4.844 kB / 383.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.2939, allocations: 280.2 kB / 383.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2939, allocations: 1.188 kB / 383.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001819/0.2957, allocations: 0.6518 MB / 384.5 MB, free: 11.36 MB / 302.1 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 (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.001577/0.2973, allocations: 0.6596 MB / 385.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.2988, allocations: 0.9856 MB / 386.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2988, allocations: 5.312 kB / 386.2 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.2991, allocations: 118.7 kB / 386.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006678/0.2998, allocations: 119.1 kB / 386.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3012, allocations: 0.9578 MB / 387.3 MB, free: 10 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3016, allocations: 0.842 MB / 388.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.3017, allocations: 29.25 kB / 388.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3017, allocations: 4 kB / 388.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of Templates: time 0.02027/0.322, allocations: 12.12 MB / 400.3 MB, free: 3.309 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches