Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 183.1 kB / 8.48 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.2 MB / 214.1 MB, free: 5.172 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008698/0.00087, allocations: 95.27 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.57e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06987/0.06989, allocations: 47.58 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.294, allocations: 88.76 MB / 451.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.2942, allocations: 69.62 kB / 451.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.09232/0.3865, allocations: 35.24 MB / 486.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.1e-05/0.3866, allocations: 20 kB / 486.6 MB, free: 3.832 MB / 330.7 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.002092/0.3887, allocations: 0.8087 MB / 487.4 MB, free: 3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3888, allocations: 8.031 kB / 487.4 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.3889, allocations: 47.44 kB / 487.5 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.3896, allocations: 460.4 kB / 487.9 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3896, allocations: 4 kB / 487.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.3897, allocations: 20 kB / 488 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002404/0.39, allocations: 131 kB / 488.1 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.3903, allocations: 310.3 kB / 488.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3903, allocations: 0 / 488.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3904, allocations: 0.8438 kB / 488.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3904, allocations: 4 kB / 488.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3914, allocations: 0.6344 MB / 489 MB, free: 1.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.392, allocations: 304.6 kB / 489.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3921, allocations: 103.7 kB / 489.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3922, allocations: 4.094 kB / 489.4 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3922, allocations: 38 kB / 489.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/0.3922, allocations: 7.938 kB / 489.5 MB, free: 1.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004412/0.3927, allocations: 272.2 kB / 489.7 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.3928, allocations: 363.8 kB / 490.1 MB, free: 496 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.3931, allocations: 338.8 kB / 490.4 MB, free: 220 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.3932, allocations: 25.7 kB / 490.4 MB, free: 188 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.3933, allocations: 149.8 kB / 490.6 MB, free: 48 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.3934, allocations: 75.06 kB / 490.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.3934, allocations: 0 / 490.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3935, allocations: 362.2 kB / 491 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3938, allocations: 196.6 kB / 491.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.3941, allocations: 297.4 kB / 491.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.3945, allocations: 241.6 kB / 491.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3945, allocations: 0 / 491.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001037/0.3956, allocations: 0.6286 MB / 492.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3956, allocations: 4 kB / 492.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.3956, allocations: 11.98 kB / 492.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/0.3961, allocations: 128.5 kB / 492.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.3964, allocations: 71.14 kB / 492.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3964, allocations: 0 / 492.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.3966, allocations: 43.38 kB / 492.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.3966, allocations: 19.11 kB / 492.6 MB, free: 14.29 MB / 346.7 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 () * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.3967, allocations: 112.9 kB / 492.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3968, allocations: 39.53 kB / 492.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.874e-05/0.3969, allocations: 40.75 kB / 492.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3969, allocations: 0 / 492.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3969, allocations: 7.906 kB / 492.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3969, allocations: 0 / 492.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.3972, allocations: 308.5 kB / 493.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3972, allocations: 0 / 493.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.3975, allocations: 51.34 kB / 493.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3975, allocations: 3.984 kB / 493.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.3976, allocations: 4 kB / 493.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3976, allocations: 0 / 493.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3976, allocations: 4 kB / 493.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000525/0.3981, allocations: 494.1 kB / 493.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.3982, allocations: 112.6 kB / 493.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.3983, allocations: 11.8 kB / 493.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.3985, allocations: 12 kB / 493.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3985, allocations: 15.88 kB / 493.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3985, allocations: 4 kB / 493.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002067/0.3988, allocations: 250.2 kB / 494.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002476/0.4012, allocations: 0.6737 MB / 494.8 MB, free: 12.32 MB / 346.7 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 () * 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.001557/0.4028, allocations: 0.7139 MB / 495.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009295/0.4037, allocations: 0.849 MB / 496.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4038, allocations: 0 / 496.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.4039, allocations: 112.8 kB / 496.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004637/0.4044, allocations: 97.12 kB / 496.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.4056, allocations: 0.7093 MB / 497.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.406, allocations: 0.8719 MB / 498.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.406, allocations: 0 / 498.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of Templates: time 0.01936/0.4254, allocations: 12.54 MB / 0.4987 GB, free: 12.61 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches