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.001155/0.001155, allocations: 95.22 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 193 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002172/0.0002173, allocations: 11.98 kB / 307.1 MB, free: 1.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09204, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001804/0.09388, allocations: 1.652 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.09885, allocations: 3.588 MB / 363.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.09901, allocations: 7.875 kB / 363.9 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.09943, allocations: 151.3 kB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.09954, allocations: 43.64 kB / 364.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.1029, allocations: 1.511 MB / 365.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.1034, allocations: 430.8 kB / 366 MB, free: 6.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1035, allocations: 41.34 kB / 366 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.1037, allocations: 159.3 kB / 366.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.1039, allocations: 151.3 kB / 366.3 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.104, allocations: 12 kB / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.1058, allocations: 1.428 MB / 367.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.106, allocations: 111.6 kB / 367.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.788e-05/0.1061, allocations: 73.52 kB / 368 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1075, allocations: 1.505 MB / 369.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1075, allocations: 0 / 369.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1075, allocations: 0 / 369.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1075, allocations: 0 / 369.5 MB, free: 2.781 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.001473/0.109, allocations: 0.8373 MB / 370.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.109, allocations: 8.031 kB / 370.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.1091, allocations: 47.44 kB / 370.4 MB, free: 1.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000504/0.1096, allocations: 337.2 kB / 370.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1097, allocations: 12.28 kB / 370.7 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.1098, allocations: 27.91 kB / 370.7 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.1103, allocations: 315 kB / 371 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1103, allocations: 4 kB / 371 MB, free: 1.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.1104, allocations: 8 kB / 371 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1104, allocations: 4 kB / 371 MB, free: 1.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.1107, allocations: 148.7 kB / 371.2 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1118, allocations: 0.6836 MB / 371.9 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1657/0.2775, allocations: 313.8 kB / 372.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2778, allocations: 107.4 kB / 372.3 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2778, allocations: 3.641 kB / 372.3 MB, free: 18.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2778, allocations: 38.03 kB / 372.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.585e-06/0.2779, allocations: 2.531 kB / 372.3 MB, free: 18.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007707/0.2786, allocations: 401 kB / 372.7 MB, free: 18.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.2787, allocations: 365.9 kB / 373.1 MB, free: 17.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.2791, allocations: 405.3 kB / 373.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2792, allocations: 35.67 kB / 373.5 MB, free: 17.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2793, allocations: 190 kB / 373.7 MB, free: 17.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.2793, allocations: 83.34 kB / 373.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.2794, allocations: 8.5 kB / 373.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2794, allocations: 357.2 kB / 374.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.2798, allocations: 205.5 kB / 374.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.2802, allocations: 318 kB / 374.6 MB, free: 17.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2806, allocations: 249.8 kB / 374.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2806, allocations: 1.062 kB / 374.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001123/0.2817, allocations: 0.6546 MB / 375.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2817, allocations: 4.312 kB / 375.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.2818, allocations: 7.953 kB / 375.6 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.2822, allocations: 128.4 kB / 375.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2825, allocations: 61.95 kB / 375.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.2851, allocations: 4.223 MB / 380 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2852, allocations: 48.83 kB / 380 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.2853, allocations: 14.91 kB / 380 MB, free: 13.06 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 (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.0002034/0.2855, allocations: 183 kB / 380.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.2856, allocations: 37.41 kB / 380.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.2857, allocations: 40.8 kB / 380.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2857, allocations: 2.75 kB / 380.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2857, allocations: 0 / 380.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2857, allocations: 4.281 kB / 380.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2861, allocations: 357.8 kB / 380.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.2861, allocations: 0 / 380.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.2864, allocations: 42.39 kB / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2864, allocations: 0.9375 kB / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.2864, allocations: 13.33 kB / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2864, allocations: 1.531 kB / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2864, allocations: 0 / 380.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006716/0.2871, allocations: 0.517 MB / 381.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2872, allocations: 115.7 kB / 381.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.2872, allocations: 16.52 kB / 381.3 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2874, allocations: 14.69 kB / 381.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2875, allocations: 12.05 kB / 381.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.2875, allocations: 8.375 kB / 381.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.2877, allocations: 268.5 kB / 381.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2877, allocations: 0 / 381.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001765/0.2895, allocations: 0.652 MB / 382.3 MB, free: 12.07 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 (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.001317/0.2908, allocations: 0.6721 MB / 383 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.2919, allocations: 0.9465 MB / 383.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2919, allocations: 1.281 kB / 383.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.2921, allocations: 124.4 kB / 384 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.2927, allocations: 104.5 kB / 384.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.294, allocations: 1.019 MB / 385.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.2944, allocations: 0.8416 MB / 386 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.2946, allocations: 71.66 kB / 386.1 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.545e-05/0.2947, allocations: 27.62 kB / 386.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2947, allocations: 0 / 386.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of Templates: time 0.02496/0.3197, allocations: 12.53 MB / 398.6 MB, free: 4.531 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches