Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 113.2 kB / 17.69 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 192 kB / 18.63 MB, free: 4.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009811/0.0009811, allocations: 46.94 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09103, allocations: 49.44 MB / 351.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002936/0.09401, allocations: 2.004 MB / 353.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005482/0.09951, allocations: 3.664 MB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.0997, allocations: 15.88 kB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.1002, allocations: 183.1 kB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.1003, allocations: 35.59 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.1047, allocations: 1.936 MB / 359.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.1053, allocations: 0.4947 MB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1055, allocations: 45.08 kB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1056, allocations: 183.3 kB / 360 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1059, allocations: 175.1 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.1059, allocations: 24 kB / 360.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.1079, allocations: 1.78 MB / 362 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1081, allocations: 123.6 kB / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1083, allocations: 163 kB / 362.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.11, allocations: 1.785 MB / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.11, allocations: 0 / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.11, allocations: 0 / 364.1 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.11, allocations: 0 / 364.1 MB, free: 7.094 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.00173/0.1117, allocations: 0.8958 MB / 365 MB, free: 6.145 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1118, allocations: 8.031 kB / 365 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1119, allocations: 48.38 kB / 365 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.1125, allocations: 350.2 kB / 365.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1125, allocations: 20.41 kB / 365.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.1126, allocations: 24 kB / 365.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.1134, allocations: 311 kB / 365.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1134, allocations: 0 / 365.7 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.1134, allocations: 8 kB / 365.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1135, allocations: 4 kB / 365.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.1139, allocations: 140.7 kB / 365.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.1155, allocations: 0.6755 MB / 366.6 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009602/0.1165, allocations: 332.3 kB / 366.9 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.1168, allocations: 104.8 kB / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1168, allocations: 0 / 367 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1169, allocations: 38.56 kB / 367 MB, free: 3.957 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.1169, allocations: 0 / 367 MB, free: 3.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001033/0.1179, allocations: 386.4 kB / 367.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002858/0.1182, allocations: 371.9 kB / 367.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.1189, allocations: 409.7 kB / 368.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.119, allocations: 37.7 kB / 368.2 MB, free: 2.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.1193, allocations: 200.7 kB / 368.4 MB, free: 2.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1194, allocations: 78.81 kB / 368.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.1196, allocations: 101.7 kB / 368.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.1198, allocations: 362.7 kB / 368.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.1203, allocations: 204.4 kB / 369.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.121, allocations: 310.4 kB / 369.4 MB, free: 1.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008448/0.1219, allocations: 405.6 kB / 369.8 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1219, allocations: 4 kB / 369.8 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001644/0.1235, allocations: 0.6457 MB / 370.5 MB, free: 328 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.1236, allocations: 6.656 kB / 370.5 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/0.1236, allocations: 11.98 kB / 370.5 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.1243, allocations: 134.4 kB / 370.6 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.1248, allocations: 55.97 kB / 370.7 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2553/0.3801, allocations: 4.553 MB / 375.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.3805, allocations: 49.25 kB / 375.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.3806, allocations: 12.64 kB / 375.3 MB, free: 20.55 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.0003604/0.381, allocations: 174.4 kB / 375.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.3811, allocations: 43.5 kB / 375.5 MB, free: 20.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.3813, allocations: 46.27 kB / 375.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3813, allocations: 2.594 kB / 375.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3813, allocations: 5.203 kB / 375.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3813, allocations: 1.688 kB / 375.6 MB, free: 20.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.3819, allocations: 345.5 kB / 375.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3819, allocations: 3.75 kB / 375.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.3825, allocations: 45.91 kB / 375.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3825, allocations: 1.281 kB / 375.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3826, allocations: 11.48 kB / 376 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3826, allocations: 3.938 kB / 376 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3826, allocations: 3.844 kB / 376 MB, free: 20.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.3838, allocations: 0.5024 MB / 376.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3839, allocations: 114.5 kB / 376.6 MB, free: 19.99 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.384, allocations: 15.86 kB / 376.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.3844, allocations: 14.94 kB / 376.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.3845, allocations: 16.17 kB / 376.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3845, allocations: 6.219 kB / 376.6 MB, free: 19.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004915/0.385, allocations: 270.9 kB / 376.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.385, allocations: 1.312 kB / 376.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002958/0.388, allocations: 0.6539 MB / 377.5 MB, free: 19.89 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.002676/0.3907, allocations: 0.6632 MB / 378.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.3926, allocations: 0.9542 MB / 379.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3926, allocations: 0 / 379.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.393, allocations: 118.1 kB / 379.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.394, allocations: 112.7 kB / 379.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3964, allocations: 0.8945 MB / 380.3 MB, free: 18.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.3969, allocations: 0.8465 MB / 381.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.3973, allocations: 63.52 kB / 381.2 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3975, allocations: 31.69 kB / 381.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3975, allocations: 0 / 381.2 MB, free: 17.92 MB / 302.1 MB Notification: Performance of Templates: time 0.03821/0.4357, allocations: 12.86 MB / 394.1 MB, free: 13.09 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches