Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") [: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.002334/0.002334, allocations: 174.5 kB / 8.148 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 2.072/2.072, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.00126/0.00126, allocations: 96.23 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.003e-05/1.005e-05, allocations: 4 kB / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.241, allocations: 47.56 MB / 361.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.379, allocations: 88.61 MB / 450.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.3793, allocations: 72.45 kB / 450.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07607/0.4554, allocations: 16.78 MB / 467.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.4555, allocations: 4 kB / 467.3 MB, free: 12.61 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001234/0.4567, allocations: 0.537 MB / 467.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4568, allocations: 8.031 kB / 467.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.4568, allocations: 19.19 kB / 467.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004502/0.4573, allocations: 246.6 kB / 468.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4573, allocations: 0 / 468.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4574, allocations: 8 kB / 468.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001647/0.4576, allocations: 47.98 kB / 468.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.4578, allocations: 121.5 kB / 468.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4579, allocations: 0 / 468.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.4579, allocations: 0 / 468.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4579, allocations: 8 kB / 468.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.4587, allocations: 357 kB / 468.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.4592, allocations: 105.7 kB / 468.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.4593, allocations: 33.06 kB / 468.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4593, allocations: 4 kB / 468.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4594, allocations: 32.62 kB / 468.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4594, allocations: 3.938 kB / 468.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003015/0.4624, allocations: 1.103 MB / 469.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.4625, allocations: 140.5 kB / 470 MB, free: 9.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.4627, allocations: 150 kB / 470.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.4627, allocations: 25.7 kB / 470.2 MB, free: 9.355 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.4628, allocations: 162.8 kB / 470.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/0.4629, allocations: 55.25 kB / 470.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.4629, allocations: 0 / 470.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4631, allocations: 322.8 kB / 470.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.4633, allocations: 83.97 kB / 470.8 MB, free: 8.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.4636, allocations: 131.3 kB / 470.9 MB, free: 8.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.4639, allocations: 107.8 kB / 471.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.464, allocations: 0 / 471.1 MB, free: 8.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008127/0.4648, allocations: 279.8 kB / 471.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.4648, allocations: 4 kB / 471.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.4649, allocations: 11.92 kB / 471.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/0.4651, allocations: 40.83 kB / 471.4 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.4654, allocations: 35.92 kB / 471.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4655, allocations: 9.078 kB / 471.4 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4656, allocations: 4 kB / 471.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.4656, allocations: 4 kB / 471.4 MB, free: 8.098 MB / 362.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/0.4658, allocations: 30.86 kB / 471.5 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.4658, allocations: 19.81 kB / 471.5 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.4659, allocations: 29.36 kB / 471.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.466, allocations: 0 / 471.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.466, allocations: 0 / 471.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.466, allocations: 0 / 471.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009624/0.467, allocations: 490.8 kB / 472 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.467, allocations: 0 / 472 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.4674, allocations: 35.97 kB / 472 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4674, allocations: 0 / 472 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.4674, allocations: 5.25 kB / 472 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.4674, allocations: 7.938 kB / 472 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4674, allocations: 0 / 472 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007053/0.4682, allocations: 376.5 kB / 472.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.4682, allocations: 88.92 kB / 472.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.4683, allocations: 7.984 kB / 472.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4685, allocations: 4 kB / 472.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.4686, allocations: 11.98 kB / 472.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.4686, allocations: 4 kB / 472.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001239/0.4687, allocations: 124.2 kB / 472.6 MB, free: 6.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002131/0.4709, allocations: 0.5157 MB / 473.2 MB, free: 6.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.00172/0.4726, allocations: 0.5638 MB / 473.7 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.4734, allocations: 347.7 kB / 474.1 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4734, allocations: 5.438 kB / 474.1 MB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4736, allocations: 79.91 kB / 474.1 MB, free: 5.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.474, allocations: 15.98 kB / 474.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.4751, allocations: 356.8 kB / 474.5 MB, free: 4.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/0.4756, allocations: 0.7585 MB / 475.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4756, allocations: 0 / 475.3 MB, free: 4.094 MB / 362.7 MB Notification: Performance of Templates: time 0.01734/0.493, allocations: 6.93 MB / 482.2 MB, free: 13.17 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches