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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002268/0.002268, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 95.09 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.961e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5136, allocations: 88.55 MB / 450.9 MB, free: 13.75 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.514, allocations: 68.66 kB / 450.9 MB, free: 13.68 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04602/0.56, allocations: 9.843 MB / 460.8 MB, free: 3.887 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5601, allocations: 0 / 460.8 MB, free: 3.887 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4e-05/0.5602, allocations: 15.94 kB / 460.8 MB, free: 3.871 MB / 347.1 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.00108/0.5613, allocations: 0.5201 MB / 461.3 MB, free: 3.305 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5613, allocations: 8.031 kB / 461.3 MB, free: 3.297 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.5614, allocations: 31.62 kB / 461.4 MB, free: 3.266 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.5623, allocations: 351.7 kB / 461.7 MB, free: 2.879 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5624, allocations: 8 kB / 461.7 MB, free: 2.871 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.5625, allocations: 8 kB / 461.7 MB, free: 2.863 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002751/0.5627, allocations: 68.34 kB / 461.8 MB, free: 2.797 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.5632, allocations: 213.7 kB / 462 MB, free: 2.547 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5632, allocations: 0 / 462 MB, free: 2.547 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.5632, allocations: 4 kB / 462 MB, free: 2.543 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.5632, allocations: 5.016 kB / 462 MB, free: 2.539 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.5645, allocations: 465.4 kB / 462.4 MB, free: 2.047 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.5649, allocations: 154.5 kB / 462.6 MB, free: 1.887 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5651, allocations: 46.97 kB / 462.6 MB, free: 1.84 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.5651, allocations: 0 / 462.6 MB, free: 1.84 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.5652, allocations: 42.67 kB / 462.7 MB, free: 1.789 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.5652, allocations: 3.938 kB / 462.7 MB, free: 1.785 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004636/0.5657, allocations: 149.6 kB / 462.8 MB, free: 1.633 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/0.5658, allocations: 290.7 kB / 463.1 MB, free: 1.281 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.5662, allocations: 233.1 kB / 463.3 MB, free: 1.051 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.5663, allocations: 27.2 kB / 463.4 MB, free: 1.02 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.5664, allocations: 203 kB / 463.6 MB, free: 0.8203 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.5665, allocations: 51.27 kB / 463.6 MB, free: 0.7695 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.5666, allocations: 4 kB / 463.6 MB, free: 0.7656 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.5667, allocations: 322.8 kB / 463.9 MB, free: 452 kB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.567, allocations: 79.97 kB / 464 MB, free: 372 kB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.5673, allocations: 160.5 kB / 464.2 MB, free: 180 kB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.5677, allocations: 111.9 kB / 464.3 MB, free: 68 kB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5677, allocations: 0 / 464.3 MB, free: 68 kB / 347.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007654/0.5685, allocations: 254.5 kB / 464.5 MB, free: 15.81 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5685, allocations: 4 kB / 464.5 MB, free: 15.8 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.733e-05/0.5686, allocations: 7.984 kB / 464.5 MB, free: 15.8 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.5686, allocations: 4 kB / 464.6 MB, free: 15.79 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.5692, allocations: 51.91 kB / 464.6 MB, free: 15.74 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5692, allocations: 6.25 kB / 464.6 MB, free: 15.74 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.5694, allocations: 31.62 kB / 464.6 MB, free: 15.71 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.5695, allocations: 8 kB / 464.6 MB, free: 15.7 MB / 363.1 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 0.0001331/0.5696, allocations: 108.9 kB / 464.8 MB, free: 15.59 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.465e-05/0.5697, allocations: 23.72 kB / 464.8 MB, free: 15.56 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.5698, allocations: 30.09 kB / 464.8 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5699, allocations: 0 / 464.8 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5699, allocations: 0 / 464.8 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5699, allocations: 0 / 464.8 MB, free: 15.53 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.5703, allocations: 249.9 kB / 465 MB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5703, allocations: 0 / 465 MB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.5707, allocations: 23.98 kB / 465.1 MB, free: 15.23 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5707, allocations: 0 / 465.1 MB, free: 15.23 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.5708, allocations: 7.984 kB / 465.1 MB, free: 15.22 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5708, allocations: 0.7812 kB / 465.1 MB, free: 15.22 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5708, allocations: 0 / 465.1 MB, free: 15.22 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.5714, allocations: 311 kB / 465.4 MB, free: 14.9 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.5715, allocations: 104.8 kB / 465.5 MB, free: 14.78 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.5716, allocations: 7.922 kB / 465.5 MB, free: 14.77 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.5718, allocations: 8.875 kB / 465.5 MB, free: 14.76 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.5719, allocations: 12.05 kB / 465.5 MB, free: 14.75 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.5719, allocations: 0 / 465.5 MB, free: 14.75 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.5722, allocations: 180.6 kB / 465.7 MB, free: 14.57 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5722, allocations: 0 / 465.7 MB, free: 14.57 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005861/0.5728, allocations: 90.36 kB / 465.8 MB, free: 14.49 MB / 363.1 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.0003887/0.5732, allocations: 159.5 kB / 465.9 MB, free: 14.32 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.5738, allocations: 260.9 kB / 466.2 MB, free: 14.05 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.5738, allocations: 4 kB / 466.2 MB, free: 14.05 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5739, allocations: 53.23 kB / 466.2 MB, free: 14 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006247/0.5746, allocations: 67.45 kB / 466.3 MB, free: 13.93 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.5761, allocations: 471.9 kB / 466.8 MB, free: 13.44 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.5767, allocations: 0.7717 MB / 467.5 MB, free: 12.64 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5768, allocations: 23.44 kB / 467.6 MB, free: 12.62 MB / 363.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5768, allocations: 0 / 467.6 MB, free: 12.62 MB / 363.1 MB Notification: Performance of Templates: time 0.01064/0.5875, allocations: 3.821 MB / 471.4 MB, free: 8.844 MB / 363.1 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