Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001524/0.001524, allocations: 179 kB / 8.48 MB, free: 1.871 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.207/1.207, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.0008791/0.0008789, allocations: 81.98 kB / 262.1 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.263e-06/7.354e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06657/0.0666, allocations: 47.58 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.3472, allocations: 88.6 MB / 451.1 MB, free: 7.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.3475, allocations: 71.95 kB / 451.2 MB, free: 7.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.06514/0.4126, allocations: 16.77 MB / 468 MB, free: 220 kB / 314.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.4127, allocations: 2.844 kB / 468 MB, free: 220 kB / 314.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.002126/0.4148, allocations: 0.543 MB / 468.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4149, allocations: 9.25 kB / 468.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.415, allocations: 23.27 kB / 468.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.4156, allocations: 240.9 kB / 468.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4157, allocations: 2.406 kB / 468.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.4158, allocations: 9.703 kB / 468.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001845/0.416, allocations: 49.72 kB / 468.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.4163, allocations: 120 kB / 469 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.4163, allocations: 5.375 kB / 469 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.4163, allocations: 3.938 kB / 469 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4163, allocations: 1.25 kB / 469 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009769/0.4173, allocations: 359.3 kB / 469.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004297/0.4178, allocations: 102.3 kB / 469.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.4179, allocations: 36.44 kB / 469.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.4179, allocations: 1.312 kB / 469.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.418, allocations: 32 kB / 469.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.765e-06/0.418, allocations: 3.938 kB / 469.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003105/0.4211, allocations: 1.106 MB / 470.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.4212, allocations: 131 kB / 470.7 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.4215, allocations: 150.7 kB / 470.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4215, allocations: 26.8 kB / 470.9 MB, free: 14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.4216, allocations: 99.44 kB / 471 MB, free: 13.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.392e-05/0.4217, allocations: 55.38 kB / 471.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.4217, allocations: 0.9062 kB / 471.1 MB, free: 13.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4219, allocations: 329.5 kB / 471.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.4221, allocations: 89.81 kB / 471.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4223, allocations: 121.5 kB / 471.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.4227, allocations: 115.6 kB / 471.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4227, allocations: 0.625 kB / 471.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008257/0.4235, allocations: 284.9 kB / 472 MB, free: 13.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4236, allocations: 5.031 kB / 472 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.4236, allocations: 5.031 kB / 472 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.4239, allocations: 47.28 kB / 472 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4241, allocations: 29.98 kB / 472.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4242, allocations: 1.031 kB / 472.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.4243, allocations: 11.84 kB / 472.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4244, allocations: 11.36 kB / 472.1 MB, free: 13.34 MB / 330.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 0.00012/0.4245, allocations: 107 kB / 472.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.4246, allocations: 18.69 kB / 472.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.4247, allocations: 24.56 kB / 472.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4247, allocations: 2.281 kB / 472.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4247, allocations: 0 / 472.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.4247, allocations: 0.9688 kB / 472.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.4257, allocations: 486.6 kB / 472.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4257, allocations: 0 / 472.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.4261, allocations: 38.05 kB / 472.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4261, allocations: 1 kB / 472.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.4261, allocations: 1.938 kB / 472.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4261, allocations: 0.9688 kB / 472.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.4261, allocations: 5.047 kB / 472.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006673/0.4268, allocations: 380.7 kB / 473.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.4269, allocations: 89.08 kB / 473.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.427, allocations: 2.094 kB / 473.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4272, allocations: 16.61 kB / 473.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4273, allocations: 7.109 kB / 473.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.4273, allocations: 7.922 kB / 473.2 MB, free: 12.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001316/0.4275, allocations: 114.2 kB / 473.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002848/0.4303, allocations: 0.5218 MB / 473.9 MB, free: 12.43 MB / 330.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.003252/0.4336, allocations: 0.5729 MB / 474.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.4344, allocations: 343.1 kB / 474.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4344, allocations: 3.938 kB / 474.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.4346, allocations: 80.03 kB / 474.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.435, allocations: 23.91 kB / 474.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.4362, allocations: 322 kB / 475.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005076/0.4368, allocations: 0.7502 MB / 476 MB, free: 10.39 MB / 330.7 MB Notification: Performance of SimCode: time 5.62e-07/0.4368, allocations: 3.938 kB / 476 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Templates: time 0.02306/0.4598, allocations: 8.286 MB / 484.3 MB, free: 2.172 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches