Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001606/0.001605, allocations: 182.3 kB / 8.155 MB, free: 2.188 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.662/1.662, allocations: 205.2 MB / 213.7 MB, free: 13.87 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.001289/0.001289, allocations: 90.89 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.021e-05/1.051e-05, allocations: 4 kB / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2355, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.3714, allocations: 88.47 MB / 450.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.3718, allocations: 67.97 kB / 450.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04439/0.4162, allocations: 9.499 MB / 459.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.347e-05/0.4163, allocations: 15.94 kB / 459.9 MB, free: 4.059 MB / 346.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.0009901/0.4173, allocations: 0.5162 MB / 460.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4173, allocations: 8.031 kB / 460.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4174, allocations: 31.62 kB / 460.4 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008679/0.4183, allocations: 354.9 kB / 460.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4184, allocations: 8.875 kB / 460.8 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.698e-05/0.4184, allocations: 11.91 kB / 460.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002656/0.4187, allocations: 80.33 kB / 460.9 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.4191, allocations: 210.2 kB / 461.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4191, allocations: 0 / 461.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.4192, allocations: 0 / 461.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4192, allocations: 4 kB / 461.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.4204, allocations: 465.4 kB / 461.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.4208, allocations: 154.5 kB / 461.7 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.421, allocations: 52.84 kB / 461.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.421, allocations: 8.016 kB / 461.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.421, allocations: 45.25 kB / 461.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.825e-06/0.4211, allocations: 0 / 461.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004784/0.4215, allocations: 150 kB / 461.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.4217, allocations: 292.9 kB / 462.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.4221, allocations: 231.5 kB / 462.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.4221, allocations: 25.7 kB / 462.5 MB, free: 1.184 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.4222, allocations: 178.8 kB / 462.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.4223, allocations: 43.36 kB / 462.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.739e-05/0.4224, allocations: 0 / 462.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4225, allocations: 330.7 kB / 463 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.4228, allocations: 87.97 kB / 463.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.4231, allocations: 164.5 kB / 463.3 MB, free: 360 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.4235, allocations: 115.9 kB / 463.4 MB, free: 244 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4235, allocations: 0 / 463.4 MB, free: 244 kB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000799/0.4243, allocations: 265.8 kB / 463.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4244, allocations: 6.969 kB / 463.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.4244, allocations: 7.984 kB / 463.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4245, allocations: 4 kB / 463.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.425, allocations: 51.97 kB / 463.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.425, allocations: 0 / 463.7 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.4252, allocations: 27.73 kB / 463.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.4253, allocations: 4 kB / 463.7 MB, free: 15.87 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 (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 9.215e-05/0.4254, allocations: 33.64 kB / 463.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.4255, allocations: 28.38 kB / 463.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.4256, allocations: 29.91 kB / 463.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4256, allocations: 0 / 463.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4257, allocations: 0 / 463.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4257, allocations: 0 / 463.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.4261, allocations: 246 kB / 464.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4261, allocations: 0 / 464.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.4265, allocations: 27.92 kB / 464.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4265, allocations: 2.344 kB / 464.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4265, allocations: 7.984 kB / 464.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4265, allocations: 3.906 kB / 464.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4265, allocations: 0 / 464.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005723/0.4271, allocations: 318.5 kB / 464.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.4272, allocations: 100.8 kB / 464.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.4273, allocations: 0 / 464.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.4275, allocations: 15.89 kB / 464.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.4276, allocations: 3.984 kB / 464.5 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4276, allocations: 11.94 kB / 464.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002402/0.4279, allocations: 179.1 kB / 464.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.4284, allocations: 83.98 kB / 464.8 MB, free: 14.73 MB / 362.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.0003459/0.4288, allocations: 155 kB / 465 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.4294, allocations: 269 kB / 465.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4294, allocations: 0 / 465.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.4296, allocations: 63.91 kB / 465.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.4302, allocations: 53.45 kB / 465.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4317, allocations: 474.9 kB / 465.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000503/0.4323, allocations: 0.7982 MB / 466.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4323, allocations: 2.531 kB / 466.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of Templates: time 0.009796/0.4421, allocations: 3.854 MB / 470.5 MB, free: 9.035 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches