Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001254/0.001254, allocations: 198.8 kB / 8.538 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008489/0.0008489, allocations: 89.89 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.163e-06/7.193e-06, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09566, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2302/0.3259, allocations: 90.19 MB / 484.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.3261, allocations: 66.78 kB / 484.9 MB, free: 3.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04285/0.369, allocations: 16.91 MB / 0.49 GB, free: 3.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.369, allocations: 11.94 kB / 0.49 GB, free: 3.898 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.001026/0.3701, allocations: 0.5306 MB / 0.4905 GB, free: 3.336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3701, allocations: 8.031 kB / 0.4905 GB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3702, allocations: 20.94 kB / 0.4906 GB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.3705, allocations: 243.3 kB / 0.4908 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.3705, allocations: 3.844 kB / 0.4908 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.3706, allocations: 8 kB / 0.4908 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.3707, allocations: 38.73 kB / 0.4908 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.3709, allocations: 125.7 kB / 0.491 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3709, allocations: 4 kB / 0.491 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3709, allocations: 0 / 0.491 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3709, allocations: 0 / 0.491 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.3715, allocations: 361.1 kB / 0.4913 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.3718, allocations: 104.7 kB / 0.4914 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3718, allocations: 38.03 kB / 0.4914 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3719, allocations: 0 / 0.4914 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3719, allocations: 34.56 kB / 0.4915 GB, free: 2.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3719, allocations: 0 / 0.4915 GB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001859/0.3738, allocations: 1.112 MB / 0.4926 GB, free: 1.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.3739, allocations: 132.5 kB / 0.4927 GB, free: 1.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.374, allocations: 148.9 kB / 0.4928 GB, free: 0.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.374, allocations: 25.7 kB / 0.4929 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.3741, allocations: 101.3 kB / 0.493 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.3741, allocations: 54.83 kB / 0.493 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.3741, allocations: 0 / 0.493 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3743, allocations: 333.7 kB / 0.4933 GB, free: 464 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3744, allocations: 90.09 kB / 0.4934 GB, free: 404 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3746, allocations: 126.3 kB / 0.4935 GB, free: 300 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3747, allocations: 103.1 kB / 0.4936 GB, free: 232 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3748, allocations: 0 / 0.4936 GB, free: 232 kB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004543/0.3752, allocations: 291.5 kB / 0.4939 GB, free: 0 / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3752, allocations: 8.047 kB / 0.4939 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3753, allocations: 0 / 0.4939 GB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3754, allocations: 44.09 kB / 0.494 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.3756, allocations: 39.91 kB / 0.494 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.3756, allocations: 0 / 0.494 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.3757, allocations: 7.812 kB / 0.494 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3758, allocations: 4 kB / 0.494 GB, free: 15.91 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 (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.513e-05/0.3759, allocations: 111.5 kB / 0.4941 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3759, allocations: 23.8 kB / 0.4941 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.376, allocations: 20.45 kB / 0.4942 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.376, allocations: 3.984 kB / 0.4942 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.376, allocations: 0 / 0.4942 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.376, allocations: 0 / 0.4942 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.3766, allocations: 494.7 kB / 0.4946 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3766, allocations: 0 / 0.4946 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.3768, allocations: 35.97 kB / 0.4947 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3768, allocations: 4 kB / 0.4947 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3769, allocations: 5.5 kB / 0.4947 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3769, allocations: 7.875 kB / 0.4947 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3769, allocations: 0 / 0.4947 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004475/0.3773, allocations: 376.5 kB / 0.495 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3774, allocations: 92.91 kB / 0.4951 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.3774, allocations: 7.625 kB / 0.4951 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3776, allocations: 8 kB / 0.4951 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3776, allocations: 7.984 kB / 0.4952 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3777, allocations: 4 kB / 0.4952 GB, free: 14.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-05/0.3778, allocations: 121.2 kB / 0.4953 GB, free: 14.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001592/0.3793, allocations: 0.5157 MB / 0.4958 GB, free: 14.2 MB / 378.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.001141/0.3805, allocations: 0.5629 MB / 0.4963 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004596/0.381, allocations: 346.2 kB / 0.4967 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.381, allocations: 0 / 0.4967 GB, free: 13.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3811, allocations: 82.53 kB / 0.4967 GB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.3813, allocations: 17.58 kB / 0.4968 GB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.382, allocations: 320.3 kB / 0.4971 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.3824, allocations: 0.7501 MB / 0.4978 GB, free: 12.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3824, allocations: 0 / 0.4978 GB, free: 12.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01324/0.3956, allocations: 8.278 MB / 0.5059 GB, free: 3.992 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches