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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.000912/0.0009122, allocations: 90.72 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2879, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4, allocations: 89.3 MB / 465.1 MB, free: 7.348 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4003, allocations: 75.97 kB / 465.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02712/0.4274, allocations: 9.929 MB / 475.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4274, allocations: 0 / 475.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.4275, allocations: 12 kB / 475.1 MB, free: 13.32 MB / 362.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.0009246/0.4284, allocations: 0.5761 MB / 475.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4285, allocations: 8.031 kB / 475.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.4285, allocations: 31.62 kB / 475.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005778/0.4291, allocations: 350.8 kB / 476.1 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4292, allocations: 12.19 kB / 476.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.4292, allocations: 12 kB / 476.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4296, allocations: 238.4 kB / 476.3 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4296, allocations: 4 kB / 476.3 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.4296, allocations: 8 kB / 476.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4296, allocations: 4 kB / 476.3 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.4298, allocations: 84.5 kB / 476.4 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.4307, allocations: 0.4973 MB / 476.9 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.431, allocations: 166.4 kB / 477.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.431, allocations: 0 / 477.1 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.431, allocations: 42.56 kB / 477.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.431, allocations: 0 / 477.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004772/0.4315, allocations: 232.3 kB / 477.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.4317, allocations: 290.7 kB / 477.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.4319, allocations: 243.7 kB / 477.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.432, allocations: 33.7 kB / 477.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4321, allocations: 160.5 kB / 478.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.4321, allocations: 51.3 kB / 478.1 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.4322, allocations: 4 kB / 478.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4323, allocations: 338.8 kB / 478.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4325, allocations: 95.94 kB / 478.5 MB, free: 9.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.4327, allocations: 181.3 kB / 478.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.4329, allocations: 121.1 kB / 478.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4329, allocations: 0 / 478.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000469/0.4334, allocations: 309.1 kB / 479.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4334, allocations: 8 kB / 479.1 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/0.4335, allocations: 3.984 kB / 479.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4335, allocations: 4 kB / 479.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.4338, allocations: 47.97 kB / 479.2 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4338, allocations: 3.953 kB / 479.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4339, allocations: 31.72 kB / 479.2 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.434, allocations: 12 kB / 479.2 MB, free: 8.855 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 () * Number of clocked 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.0001629/0.4341, allocations: 145.9 kB / 479.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.4342, allocations: 27.66 kB / 479.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.4343, allocations: 29.97 kB / 479.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4343, allocations: 0 / 479.4 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4343, allocations: 4 kB / 479.4 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4343, allocations: 3.953 kB / 479.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.4346, allocations: 273.4 kB / 479.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4346, allocations: 0 / 479.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4348, allocations: 31.92 kB / 479.8 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4348, allocations: 4 kB / 479.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4348, allocations: 4 kB / 479.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4348, allocations: 7.984 kB / 479.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4348, allocations: 0 / 479.8 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.4353, allocations: 331.1 kB / 480.1 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.4354, allocations: 100.7 kB / 480.2 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.4354, allocations: 8.062 kB / 480.2 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.4356, allocations: 15.98 kB / 480.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.4356, allocations: 7.984 kB / 480.2 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4356, allocations: 4 kB / 480.2 MB, free: 7.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001994/0.4358, allocations: 195 kB / 480.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.4359, allocations: 0 / 480.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.4363, allocations: 95.8 kB / 480.5 MB, free: 7.496 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 () * Number of clocked 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.0002552/0.4365, allocations: 155.1 kB / 480.7 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.437, allocations: 285.6 kB / 480.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.437, allocations: 0 / 480.9 MB, free: 7.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4371, allocations: 63.91 kB / 481 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.4375, allocations: 78.22 kB / 481.1 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.4385, allocations: 0.6217 MB / 481.7 MB, free: 6.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4389, allocations: 0.7794 MB / 482.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.439, allocations: 37.94 kB / 482.5 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.4391, allocations: 19.44 kB / 482.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4391, allocations: 0 / 482.5 MB, free: 5.391 MB / 362.7 MB Notification: Performance of Templates: time 0.006592/0.4457, allocations: 3.439 MB / 486 MB, free: 1.973 MB / 362.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