Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 183.9 kB / 8.135 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 101.5 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.743e-06/6.773e-06, allocations: 4 kB / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0939/0.2944, allocations: 89.38 MB / 476.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.2947, allocations: 67.97 kB / 476.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.04487/0.3396, allocations: 16.85 MB / 493.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.3396, allocations: 3.938 kB / 493.2 MB, free: 12.48 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007936/0.3404, allocations: 0.5488 MB / 493.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.3405, allocations: 8.031 kB / 493.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.3405, allocations: 15.81 kB / 493.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3409, allocations: 234.7 kB / 494 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3409, allocations: 5.094 kB / 494 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.3409, allocations: 11.98 kB / 494 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.341, allocations: 47.98 kB / 494.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3412, allocations: 117.3 kB / 494.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3412, allocations: 0 / 494.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3412, allocations: 2.531 kB / 494.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3413, allocations: 4 kB / 494.2 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.3418, allocations: 365 kB / 494.5 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3421, allocations: 105.7 kB / 494.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.688e-05/0.3421, allocations: 36.92 kB / 494.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.3422, allocations: 0 / 494.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.3422, allocations: 34.56 kB / 494.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.3422, allocations: 0 / 494.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001882/0.3441, allocations: 1.098 MB / 495.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.3442, allocations: 132.5 kB / 495.9 MB, free: 9.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3443, allocations: 162.2 kB / 496.1 MB, free: 9.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3443, allocations: 29.7 kB / 496.1 MB, free: 9.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3444, allocations: 100.5 kB / 496.2 MB, free: 9.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.3444, allocations: 55.19 kB / 496.3 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.3445, allocations: 6.25 kB / 496.3 MB, free: 9.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3446, allocations: 326.8 kB / 496.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3447, allocations: 83.97 kB / 496.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3449, allocations: 123.4 kB / 496.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3451, allocations: 112 kB / 496.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3451, allocations: 3.906 kB / 496.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004757/0.3456, allocations: 293.1 kB / 497.2 MB, free: 8.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.3456, allocations: 4 kB / 497.2 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3456, allocations: 5.438 kB / 497.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.3458, allocations: 48.75 kB / 497.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.346, allocations: 27.98 kB / 497.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.346, allocations: 0 / 497.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.3461, allocations: 11.98 kB / 497.3 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3461, allocations: 4 kB / 497.3 MB, free: 8.012 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 8.273e-05/0.3462, allocations: 108.9 kB / 497.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.3462, allocations: 11.81 kB / 497.4 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.242e-05/0.3463, allocations: 25.38 kB / 497.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3463, allocations: 4 kB / 497.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3463, allocations: 48 / 497.5 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3463, allocations: 11.97 kB / 497.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005689/0.3469, allocations: 482.9 kB / 497.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3469, allocations: 0.75 kB / 497.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3471, allocations: 35.92 kB / 498 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3471, allocations: 0 / 498 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3472, allocations: 9.297 kB / 498 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3472, allocations: 0 / 498 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3472, allocations: 0.8125 kB / 498 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004514/0.3476, allocations: 384.6 kB / 498.4 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.3477, allocations: 88.92 kB / 498.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.3477, allocations: 0 / 498.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3479, allocations: 7.984 kB / 498.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.3479, allocations: 11.92 kB / 498.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3479, allocations: 8.812 kB / 498.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.27e-05/0.348, allocations: 119.3 kB / 498.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001459/0.3495, allocations: 0.5273 MB / 499.1 MB, free: 6.113 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.001058/0.3505, allocations: 0.5657 MB / 499.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.351, allocations: 345.2 kB / 0.4883 GB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.351, allocations: 5.219 kB / 0.4883 GB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3511, allocations: 79.84 kB / 0.4884 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.3514, allocations: 26.95 kB / 0.4884 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.3521, allocations: 305.1 kB / 0.4887 GB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.3524, allocations: 0.7507 MB / 0.4894 GB, free: 3.969 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3524, allocations: 0 / 0.4894 GB, free: 3.969 MB / 378.7 MB Notification: Performance of Templates: time 0.113/0.4654, allocations: 8.281 MB / 0.4975 GB, free: 125.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches