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.001304/0.001304, allocations: 105 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 58.88 kB / 306.4 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09766, allocations: 50.52 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003156/0.1009, allocations: 2.064 MB / 359 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.1063, allocations: 3.784 MB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.1066, allocations: 7.875 kB / 362.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.1071, allocations: 155.3 kB / 363 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1073, allocations: 43.64 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.1111, allocations: 1.773 MB / 364.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.1117, allocations: 0.491 MB / 365.3 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1119, allocations: 41.08 kB / 365.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.1121, allocations: 187.3 kB / 365.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1123, allocations: 167.2 kB / 365.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.1124, allocations: 28 kB / 365.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.1145, allocations: 1.756 MB / 367.4 MB, free: 3.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1147, allocations: 119.6 kB / 367.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1149, allocations: 162.9 kB / 367.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.1167, allocations: 1.766 MB / 369.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1167, allocations: 0 / 369.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1167, allocations: 3.938 kB / 369.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1167, allocations: 0 / 369.5 MB, free: 1.656 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.00149/0.1182, allocations: 0.892 MB / 370.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1183, allocations: 16.02 kB / 370.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.1184, allocations: 44.38 kB / 370.4 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.1188, allocations: 354.2 kB / 370.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1188, allocations: 24.58 kB / 370.8 MB, free: 252 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.1189, allocations: 32.28 kB / 370.8 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.168/0.2869, allocations: 305.9 kB / 371.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.287, allocations: 0.875 kB / 371.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.671e-05/0.287, allocations: 6.656 kB / 371.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.287, allocations: 3.406 kB / 371.1 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.2874, allocations: 144.9 kB / 371.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2886, allocations: 0.6754 MB / 372 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.2893, allocations: 315.6 kB / 372.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2895, allocations: 111 kB / 372.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.2895, allocations: 4.188 kB / 372.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2895, allocations: 45.05 kB / 372.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.2895, allocations: 0 / 372.4 MB, free: 18.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007261/0.2903, allocations: 375.8 kB / 372.8 MB, free: 18.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.2904, allocations: 368.5 kB / 373.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.2908, allocations: 404.2 kB / 373.6 MB, free: 18.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.2908, allocations: 33.61 kB / 373.6 MB, free: 18.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2909, allocations: 197.3 kB / 373.8 MB, free: 18.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.291, allocations: 86.7 kB / 373.9 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.2911, allocations: 101.6 kB / 374 MB, free: 18.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.2912, allocations: 359.4 kB / 374.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.2916, allocations: 203.4 kB / 374.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.2919, allocations: 323.7 kB / 374.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/0.2925, allocations: 393.9 kB / 375.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2925, allocations: 4.219 kB / 375.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001064/0.2936, allocations: 0.6497 MB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.2936, allocations: 6.141 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.2937, allocations: 6.891 kB / 375.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/0.2941, allocations: 129 kB / 376 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.2944, allocations: 66.38 kB / 376.1 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.2969, allocations: 4.555 MB / 380.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.2971, allocations: 50.53 kB / 380.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.2971, allocations: 12.97 kB / 380.7 MB, free: 12.67 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.000174/0.2973, allocations: 177.8 kB / 380.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.2974, allocations: 41.03 kB / 380.9 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/0.2974, allocations: 48.66 kB / 380.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2975, allocations: 6.125 kB / 381 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2975, allocations: 2.844 kB / 381 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2975, allocations: 2.344 kB / 381 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2978, allocations: 338.2 kB / 381.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2978, allocations: 4.906 kB / 381.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.2981, allocations: 41.55 kB / 381.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.2981, allocations: 1.531 kB / 381.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.2981, allocations: 17.05 kB / 381.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2982, allocations: 5.125 kB / 381.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2982, allocations: 1.969 kB / 381.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.2988, allocations: 0.5021 MB / 381.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.2988, allocations: 112.1 kB / 382 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.2989, allocations: 16.36 kB / 382 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.2991, allocations: 14.02 kB / 382 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.2991, allocations: 16 kB / 382 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.2992, allocations: 8.156 kB / 382 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.2994, allocations: 273.3 kB / 382.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.2994, allocations: 0 / 382.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001828/0.3012, allocations: 0.6539 MB / 382.9 MB, free: 11.66 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.001268/0.3025, allocations: 0.6719 MB / 383.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3038, allocations: 0.9871 MB / 384.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3038, allocations: 1.125 kB / 384.6 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.304, allocations: 122.2 kB / 384.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.3046, allocations: 117.6 kB / 384.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.306, allocations: 1.012 MB / 385.9 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3064, allocations: 0.8417 MB / 386.7 MB, free: 9.527 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.3066, allocations: 63.11 kB / 386.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.3067, allocations: 27 kB / 386.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3067, allocations: 5.125 kB / 386.8 MB, free: 9.512 MB / 302.1 MB Notification: Performance of Templates: time 0.02381/0.3305, allocations: 12.9 MB / 399.7 MB, free: 3.246 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