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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.78 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1071, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003071/0.1102, allocations: 2.023 MB / 360.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.1156, allocations: 3.711 MB / 364.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.1158, allocations: 11.88 kB / 364.6 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.1163, allocations: 179.1 kB / 364.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.1165, allocations: 47.58 kB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.1207, allocations: 1.939 MB / 366.8 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.1213, allocations: 0.4987 MB / 367.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1214, allocations: 45.06 kB / 367.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1216, allocations: 179.4 kB / 367.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.1218, allocations: 171.1 kB / 367.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1218, allocations: 24 kB / 367.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.1239, allocations: 1.791 MB / 369.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.124, allocations: 127.6 kB / 369.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1242, allocations: 162.9 kB / 369.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1259, allocations: 1.781 MB / 371.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.126, allocations: 4 kB / 371.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.126, allocations: 0 / 371.6 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.126, allocations: 4 kB / 371.6 MB, free: 0.6406 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.2032/0.3292, allocations: 0.8978 MB / 372.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.3293, allocations: 8.844 kB / 372.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3294, allocations: 47.97 kB / 372.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.33, allocations: 346.4 kB / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.33, allocations: 19.25 kB / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.3301, allocations: 29.98 kB / 372.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.3306, allocations: 300 kB / 373.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3306, allocations: 4 kB / 373.2 MB, free: 19.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.3307, allocations: 18.41 kB / 373.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3307, allocations: 2.594 kB / 373.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.331, allocations: 143.8 kB / 373.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3323, allocations: 0.6698 MB / 374 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/0.333, allocations: 322.1 kB / 374.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.3332, allocations: 108.8 kB / 374.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3333, allocations: 6.859 kB / 374.5 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.3333, allocations: 40.34 kB / 374.5 MB, free: 18.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.3333, allocations: 0 / 374.5 MB, free: 18.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007604/0.3341, allocations: 383.5 kB / 374.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.3342, allocations: 370.5 kB / 375.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/0.3347, allocations: 406.2 kB / 375.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.3347, allocations: 36.89 kB / 375.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.3348, allocations: 195.4 kB / 375.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.3349, allocations: 84.53 kB / 375.9 MB, free: 17.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3351, allocations: 96.75 kB / 376 MB, free: 17.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3352, allocations: 358.2 kB / 376.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.3355, allocations: 206.9 kB / 376.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.3359, allocations: 322.6 kB / 376.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.3364, allocations: 398.6 kB / 377.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3365, allocations: 1.375 kB / 377.3 MB, free: 16.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001043/0.3375, allocations: 0.6419 MB / 377.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3375, allocations: 8.906 kB / 378 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.3376, allocations: 8.531 kB / 378 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.338, allocations: 127.1 kB / 378.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.3383, allocations: 69.28 kB / 378.2 MB, free: 16.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.3413, allocations: 4.545 MB / 382.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.3415, allocations: 51.66 kB / 382.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3416, allocations: 16.77 kB / 382.8 MB, free: 12.32 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.0002025/0.3418, allocations: 175.9 kB / 382.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-05/0.3419, allocations: 40.75 kB / 383 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.3419, allocations: 45.59 kB / 383 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.342, allocations: 6.672 kB / 383 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.342, allocations: 4.125 kB / 383 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.342, allocations: 5.469 kB / 383 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.3424, allocations: 352.3 kB / 383.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3424, allocations: 0.7031 kB / 383.4 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3427, allocations: 42.8 kB / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3427, allocations: 0 / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.3427, allocations: 10.92 kB / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3427, allocations: 1.953 kB / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3427, allocations: 1.344 kB / 383.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.3434, allocations: 0.5154 MB / 384 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.3435, allocations: 112 kB / 384.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.3436, allocations: 15.56 kB / 384.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.3437, allocations: 10.89 kB / 384.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3438, allocations: 18.83 kB / 384.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3438, allocations: 5.125 kB / 384.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.3441, allocations: 271.9 kB / 384.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3441, allocations: 0 / 384.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002027/0.3462, allocations: 0.6559 MB / 385 MB, free: 11.31 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.001553/0.3477, allocations: 0.6755 MB / 385.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.3492, allocations: 0.9514 MB / 386.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3492, allocations: 1.438 kB / 386.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.3494, allocations: 122.9 kB / 386.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.35, allocations: 115.3 kB / 386.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.3514, allocations: 0.9055 MB / 387.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3518, allocations: 0.838 MB / 388.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.352, allocations: 68.41 kB / 388.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.3521, allocations: 27.8 kB / 388.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3521, allocations: 0 / 388.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of Templates: time 0.02028/0.3724, allocations: 12.94 MB / 401.7 MB, free: 2.27 MB / 302.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches