Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001563/0.001563, allocations: 177.5 kB / 8.151 MB, free: 2.207 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.673/1.673, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001846/0.001846, allocations: 84.69 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.089e-05, allocations: 4 kB / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2435, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.383, allocations: 88.76 MB / 450.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.3834, allocations: 67.97 kB / 450.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1713/0.5547, allocations: 35.25 MB / 485.9 MB, free: 9.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.639e-05/0.5548, allocations: 12 kB / 485.9 MB, free: 9.961 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.002808/0.5576, allocations: 0.8174 MB / 486.7 MB, free: 9.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.5577, allocations: 8.031 kB / 486.7 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.5579, allocations: 51.44 kB / 486.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.5592, allocations: 452.7 kB / 487.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.5592, allocations: 8 kB / 487.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.5593, allocations: 16 kB / 487.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000436/0.5598, allocations: 128.5 kB / 487.4 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.5604, allocations: 312.2 kB / 487.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5605, allocations: 7.984 kB / 487.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.5605, allocations: 0 / 487.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5606, allocations: 4 kB / 487.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.5625, allocations: 0.6343 MB / 488.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.5635, allocations: 311.2 kB / 488.6 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.5638, allocations: 97.2 kB / 488.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.5638, allocations: 4.094 kB / 488.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.5639, allocations: 38.75 kB / 488.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 3.206e-06/0.5639, allocations: 0 / 488.8 MB, free: 6.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.000829/0.5647, allocations: 271.9 kB / 489 MB, free: 6.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.565, allocations: 363.8 kB / 489.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006076/0.5656, allocations: 337 kB / 489.7 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.866e-05/0.5657, allocations: 29.89 kB / 489.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5658, allocations: 191.2 kB / 489.9 MB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5659, allocations: 86.75 kB / 490 MB, free: 5.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.566, allocations: 0 / 490 MB, free: 5.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5661, allocations: 326.8 kB / 490.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.5666, allocations: 200.2 kB / 490.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.5673, allocations: 295.8 kB / 490.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.5681, allocations: 240.8 kB / 491.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5681, allocations: 0 / 491.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002008/0.5701, allocations: 0.6061 MB / 491.7 MB, free: 3.828 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5702, allocations: 4 kB / 491.7 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.734e-05/0.5703, allocations: 11.98 kB / 491.7 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/0.5709, allocations: 126.5 kB / 491.8 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.5715, allocations: 67.81 kB / 491.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.5716, allocations: 1.25 kB / 491.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.5719, allocations: 39.61 kB / 491.9 MB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.572, allocations: 12 kB / 491.9 MB, free: 3.562 MB / 378.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.0001347/0.5721, allocations: 37.64 kB / 492 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5723, allocations: 39.44 kB / 492 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.5724, allocations: 43.61 kB / 492 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5725, allocations: 4 kB / 492 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5725, allocations: 4 kB / 492 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5725, allocations: 0 / 492 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000562/0.5731, allocations: 321.7 kB / 492.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5731, allocations: 6.25 kB / 492.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/0.5737, allocations: 35.92 kB / 492.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.5738, allocations: 7.906 kB / 492.4 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.5738, allocations: 11.98 kB / 492.4 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.5739, allocations: 4 kB / 492.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5739, allocations: 0 / 492.4 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001085/0.575, allocations: 492.9 kB / 492.9 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5751, allocations: 124.4 kB / 493 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5752, allocations: 12 kB / 493 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003527/0.5756, allocations: 7.984 kB / 493 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.5757, allocations: 7.984 kB / 493.1 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.5757, allocations: 4 kB / 493.1 MB, free: 2.348 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004528/0.5762, allocations: 255.2 kB / 493.3 MB, free: 2.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003081/0.5793, allocations: 0.6831 MB / 494 MB, free: 1.418 MB / 378.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.003162/0.5825, allocations: 0.7034 MB / 494.7 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.5844, allocations: 0.8464 MB / 495.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5844, allocations: 0 / 495.5 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.5848, allocations: 115.9 kB / 495.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.5857, allocations: 82.98 kB / 495.7 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.5883, allocations: 0.7601 MB / 496.5 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007286/0.5891, allocations: 0.8687 MB / 497.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5891, allocations: 0 / 497.4 MB, free: 13.88 MB / 394.7 MB Notification: Performance of Templates: time 0.04207/0.6312, allocations: 12.79 MB / 0.4982 GB, free: 1.102 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches