Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [: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.0009765/0.0009766, allocations: 179.3 kB / 8.476 MB, free: 1.867 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.278/1.278, allocations: 205.2 MB / 214.1 MB, free: 5.086 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.0008098/0.0008098, allocations: 86.78 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.061e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06869/0.06871, allocations: 47.59 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.3052, allocations: 88.46 MB / 451 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.3055, allocations: 71.75 kB / 451.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0244/0.3299, allocations: 9.485 MB / 460.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.33, allocations: 14.16 kB / 460.6 MB, free: 4.457 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007809/0.3308, allocations: 0.5208 MB / 461.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3308, allocations: 8.688 kB / 461.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.3309, allocations: 32.47 kB / 461.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.3316, allocations: 355.5 kB / 461.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3316, allocations: 2.875 kB / 461.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.3316, allocations: 12.91 kB / 461.5 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001911/0.3318, allocations: 71.94 kB / 461.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.3321, allocations: 216 kB / 461.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3321, allocations: 0 / 461.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.3322, allocations: 1.125 kB / 461.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3322, allocations: 2.188 kB / 461.8 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.333, allocations: 466 kB / 462.2 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.3332, allocations: 156.3 kB / 462.4 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.3333, allocations: 56.58 kB / 462.4 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3333, allocations: 1.094 kB / 462.4 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3334, allocations: 36.06 kB / 462.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3334, allocations: 0 / 462.5 MB, free: 3.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003539/0.3337, allocations: 155.9 kB / 462.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3338, allocations: 289.6 kB / 462.9 MB, free: 2.676 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.3341, allocations: 234.5 kB / 463.1 MB, free: 2.551 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3341, allocations: 26.23 kB / 463.2 MB, free: 2.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.962e-05/0.3342, allocations: 126.3 kB / 463.3 MB, free: 2.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.3342, allocations: 43.86 kB / 463.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.3343, allocations: 1.25 kB / 463.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.3343, allocations: 348.4 kB / 463.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3345, allocations: 86.41 kB / 463.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.3348, allocations: 162.1 kB / 463.9 MB, free: 1.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3351, allocations: 114.8 kB / 464 MB, free: 1.926 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3351, allocations: 1.812 kB / 464 MB, free: 1.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004981/0.3356, allocations: 284.4 kB / 464.3 MB, free: 1.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3356, allocations: 8.688 kB / 464.3 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.3357, allocations: 8.438 kB / 464.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3357, allocations: 0.8438 kB / 464.3 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.336, allocations: 62.73 kB / 464.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.336, allocations: 1.25 kB / 464.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.3361, allocations: 22.69 kB / 464.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.3362, allocations: 11.27 kB / 464.4 MB, free: 1.793 MB / 314.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 8.683e-05/0.3363, allocations: 114 kB / 464.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.3363, allocations: 26.53 kB / 464.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.232e-05/0.3364, allocations: 27.5 kB / 464.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3364, allocations: 5.281 kB / 464.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3364, allocations: 0 / 464.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3364, allocations: 1.094 kB / 464.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3367, allocations: 233.1 kB / 464.8 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3367, allocations: 0 / 464.8 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.3369, allocations: 28.48 kB / 464.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3369, allocations: 1.375 kB / 464.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3369, allocations: 2.75 kB / 464.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3369, allocations: 0 / 464.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3369, allocations: 5.375 kB / 464.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003308/0.3373, allocations: 316.1 kB / 465.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.3373, allocations: 103.6 kB / 465.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.3374, allocations: 3.438 kB / 465.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3375, allocations: 8.797 kB / 465.3 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3376, allocations: 7.156 kB / 465.3 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3376, allocations: 11.55 kB / 465.3 MB, free: 1.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001535/0.3378, allocations: 182 kB / 465.5 MB, free: 1.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004246/0.3382, allocations: 82.97 kB / 465.6 MB, free: 1.039 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0003092/0.3385, allocations: 160.1 kB / 465.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.3389, allocations: 265.7 kB / 466 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3389, allocations: 0 / 466 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.339, allocations: 58.73 kB / 466 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3394, allocations: 66.83 kB / 466.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008605/0.3403, allocations: 433 kB / 466.5 MB, free: 0.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.3406, allocations: 0.7957 MB / 467.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3406, allocations: 0 / 467.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Templates: time 0.007816/0.3484, allocations: 3.476 MB / 470.8 MB, free: 14.07 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches