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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [: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 trunk/package.mo): time 0.00164/0.00164, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 91.02 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.523e-06/6.673e-06, allocations: 0 / 343.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 51.48 MB / 394.6 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2585/0.3629, allocations: 90.34 MB / 485 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.3631, allocations: 66.66 kB / 485 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09562/0.4588, allocations: 35.54 MB / 0.5084 GB, free: 4.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.225e-05/0.4588, allocations: 23.94 kB / 0.5084 GB, free: 4.09 MB / 378.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.001858/0.4607, allocations: 0.8068 MB / 0.5092 GB, free: 3.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4608, allocations: 12.03 kB / 0.5092 GB, free: 3.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4609, allocations: 43.44 kB / 0.5092 GB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.4618, allocations: 455.7 kB / 0.5097 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4618, allocations: 4 kB / 0.5097 GB, free: 2.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.4619, allocations: 23.98 kB / 0.5097 GB, free: 2.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002558/0.4621, allocations: 134.3 kB / 0.5098 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.4625, allocations: 311.4 kB / 0.5101 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.4625, allocations: 0 / 0.5101 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.4626, allocations: 3.938 kB / 0.5101 GB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4626, allocations: 4 kB / 0.5101 GB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.4637, allocations: 0.637 MB / 0.5107 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.4642, allocations: 307.6 kB / 0.511 GB, free: 1.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4644, allocations: 101.8 kB / 0.5111 GB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.4644, allocations: 4.188 kB / 0.5111 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4645, allocations: 38.19 kB / 0.5112 GB, free: 1.391 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.674e-06/0.4645, allocations: 4 kB / 0.5112 GB, free: 1.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004811/0.465, allocations: 275 kB / 0.5114 GB, free: 1.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.4652, allocations: 365.7 kB / 0.5118 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.4656, allocations: 337 kB / 0.5121 GB, free: 464 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4656, allocations: 25.7 kB / 0.5121 GB, free: 432 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4657, allocations: 144 kB / 0.5123 GB, free: 300 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.857e-05/0.4658, allocations: 84 kB / 0.5123 GB, free: 228 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.4658, allocations: 0 / 0.5123 GB, free: 228 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.466, allocations: 361.8 kB / 0.5127 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.4663, allocations: 188.2 kB / 0.5129 GB, free: 15.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.4666, allocations: 291.7 kB / 0.5132 GB, free: 15.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.4671, allocations: 242 kB / 0.5134 GB, free: 15.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4671, allocations: 0 / 0.5134 GB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001118/0.4682, allocations: 0.6323 MB / 0.514 GB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4682, allocations: 4 kB / 0.514 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.4683, allocations: 15.92 kB / 0.514 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004149/0.4687, allocations: 126.5 kB / 0.5141 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.469, allocations: 59.97 kB / 0.5142 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.469, allocations: 0 / 0.5142 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.4692, allocations: 47.36 kB / 0.5142 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.4693, allocations: 16 kB / 0.5143 GB, free: 14.4 MB / 394.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.0001167/0.4694, allocations: 113 kB / 0.5144 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.4695, allocations: 43.47 kB / 0.5144 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/0.4696, allocations: 39.62 kB / 0.5144 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4696, allocations: 7.906 kB / 0.5145 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4696, allocations: 0 / 0.5145 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4696, allocations: 0 / 0.5145 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.4699, allocations: 313.9 kB / 0.5148 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.47, allocations: 3.984 kB / 0.5148 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.4703, allocations: 39.98 kB / 0.5148 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.4703, allocations: 4.562 kB / 0.5148 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.4703, allocations: 11.98 kB / 0.5148 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4704, allocations: 0 / 0.5148 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4704, allocations: 0 / 0.5148 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005831/0.471, allocations: 0.4902 MB / 0.5153 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.471, allocations: 116.6 kB / 0.5154 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.4711, allocations: 6.438 kB / 0.5154 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.4713, allocations: 19.89 kB / 0.5154 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.4714, allocations: 11.98 kB / 0.5154 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4714, allocations: 4 kB / 0.5154 GB, free: 13.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002458/0.4716, allocations: 251.2 kB / 0.5157 GB, free: 12.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002166/0.4738, allocations: 0.6794 MB / 0.5163 GB, free: 12.19 MB / 394.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.001792/0.4756, allocations: 0.7107 MB / 0.517 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.4768, allocations: 0.8418 MB / 0.5179 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4768, allocations: 3.938 kB / 0.5179 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.477, allocations: 115.9 kB / 0.518 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.4775, allocations: 100.7 kB / 0.5181 GB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.4789, allocations: 0.7037 MB / 0.5188 GB, free: 9.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.4794, allocations: 0.8755 MB / 0.5196 GB, free: 8.691 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4794, allocations: 0 / 0.5196 GB, free: 8.691 MB / 394.7 MB Notification: Performance of Templates: time 0.02077/0.5001, allocations: 12.6 MB / 0.5319 GB, free: 12.16 MB / 410.7 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","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches