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.001524/0.001524, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 205.9 kB / 18.78 MB, free: 4.254 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.488/1.488, allocations: 230.4 MB / 250 MB, free: 9.109 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.001899/0.001899, allocations: 55.91 kB / 367.3 MB, free: 7.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 53.32 MB / 420.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004658/0.2646, allocations: 2.028 MB / 422.7 MB, free: 6.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006839/0.2715, allocations: 3.733 MB / 426.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.2717, allocations: 11.88 kB / 426.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.2723, allocations: 183.1 kB / 426.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2724, allocations: 47.58 kB / 426.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004458/0.2769, allocations: 1.862 MB / 428.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.2776, allocations: 498.8 kB / 429 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2777, allocations: 37.06 kB / 429 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.2779, allocations: 183.3 kB / 429.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.2782, allocations: 175.2 kB / 429.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.2782, allocations: 20 kB / 429.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.2807, allocations: 1.822 MB / 431.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2809, allocations: 123.6 kB / 431.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.2811, allocations: 158.9 kB / 431.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.2833, allocations: 1.792 MB / 433.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2833, allocations: 4 kB / 433.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2833, allocations: 0 / 433.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2833, allocations: 0 / 433.3 MB, free: 11.7 MB / 350.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.001724/0.285, allocations: 0.9143 MB / 434.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.285, allocations: 12.03 kB / 434.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2851, allocations: 48.61 kB / 434.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.2857, allocations: 354.6 kB / 434.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2857, allocations: 16.66 kB / 434.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.2858, allocations: 32.33 kB / 434.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.2863, allocations: 303.9 kB / 435 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2863, allocations: 0 / 435 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2863, allocations: 16 kB / 435 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2863, allocations: 4 kB / 435 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.2866, allocations: 140.7 kB / 435.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.2878, allocations: 0.6757 MB / 435.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006895/0.2885, allocations: 320.4 kB / 436.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.2887, allocations: 108.8 kB / 436.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2887, allocations: 0 / 436.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.2888, allocations: 38.56 kB / 436.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.2888, allocations: 0 / 436.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007419/0.2895, allocations: 383 kB / 436.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002075/0.2897, allocations: 375.9 kB / 437 MB, free: 7.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.2902, allocations: 409.8 kB / 437.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.2902, allocations: 37.7 kB / 437.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.2904, allocations: 189 kB / 437.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.2905, allocations: 91.2 kB / 437.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.2906, allocations: 97.67 kB / 437.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2908, allocations: 362.7 kB / 438.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.2912, allocations: 208.2 kB / 438.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.2916, allocations: 314.4 kB / 438.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.2922, allocations: 393.6 kB / 439 MB, free: 5.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2922, allocations: 4 kB / 439 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001189/0.2934, allocations: 0.6539 MB / 439.7 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2934, allocations: 4 kB / 439.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.2935, allocations: 11.94 kB / 439.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/0.2939, allocations: 126.5 kB / 439.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2942, allocations: 67.89 kB / 439.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.2984, allocations: 4.552 MB / 444.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2986, allocations: 51.8 kB / 444.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.2987, allocations: 15.94 kB / 444.5 MB, free: 15.64 MB / 366.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.0002217/0.2989, allocations: 177.7 kB / 444.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.299, allocations: 39.77 kB / 444.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.299, allocations: 43.75 kB / 444.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.299, allocations: 7.984 kB / 444.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.299, allocations: 3.938 kB / 444.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2991, allocations: 4 kB / 444.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.2995, allocations: 341.3 kB / 445.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2995, allocations: 4 kB / 445.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.2998, allocations: 47.84 kB / 445.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.2998, allocations: 7.984 kB / 445.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2998, allocations: 11.98 kB / 445.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2998, allocations: 3.984 kB / 445.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2998, allocations: 3.938 kB / 445.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.3005, allocations: 0.5082 MB / 445.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.3006, allocations: 108.8 kB / 445.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3007, allocations: 15.98 kB / 445.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3008, allocations: 15.94 kB / 445.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.3009, allocations: 15.97 kB / 445.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3009, allocations: 4 kB / 445.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002999/0.3012, allocations: 271.1 kB / 446.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3012, allocations: 0 / 446.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002141/0.3034, allocations: 0.6558 MB / 446.8 MB, free: 13.29 MB / 366.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.00151/0.3049, allocations: 0.6795 MB / 447.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.3063, allocations: 0.9257 MB / 448.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3063, allocations: 0 / 448.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.3065, allocations: 118.7 kB / 448.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.3071, allocations: 124.5 kB / 448.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.3088, allocations: 0.91 MB / 449.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.3093, allocations: 0.838 MB / 450.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.3095, allocations: 70.91 kB / 450.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.3096, allocations: 27.44 kB / 450.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3096, allocations: 0 / 450.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of Templates: time 0.02613/0.3357, allocations: 13.05 MB / 463.5 MB, free: 12.45 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/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