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.0008789/0.0008785, allocations: 183.2 kB / 18.04 MB, free: 3.785 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.19/1.19, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007934/0.0007936, allocations: 85.55 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1917, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08877/0.2805, allocations: 89.42 MB / 466.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.2807, allocations: 71.97 kB / 466.5 MB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02593/0.3067, allocations: 9.945 MB / 476.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3067, allocations: 0 / 476.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.3068, allocations: 8 kB / 476.5 MB, free: 13.08 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.000951/0.3077, allocations: 0.5685 MB / 477 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3078, allocations: 16.02 kB / 477 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.709e-05/0.3079, allocations: 32.56 kB / 477.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.3084, allocations: 352 kB / 477.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3085, allocations: 8.562 kB / 477.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.3085, allocations: 20.28 kB / 477.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.3089, allocations: 237.1 kB / 477.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3089, allocations: 0 / 477.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.309, allocations: 8 kB / 477.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.309, allocations: 0 / 477.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.3092, allocations: 95.88 kB / 477.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008008/0.31, allocations: 0.5004 MB / 478.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.3103, allocations: 170.4 kB / 478.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3104, allocations: 56.83 kB / 478.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3104, allocations: 4 kB / 478.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.3104, allocations: 34.55 kB / 478.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3104, allocations: 4 kB / 478.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004318/0.3109, allocations: 225.4 kB / 478.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.311, allocations: 286.7 kB / 479 MB, free: 10.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3113, allocations: 280.5 kB / 479.3 MB, free: 9.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.3113, allocations: 29.7 kB / 479.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3114, allocations: 156.5 kB / 479.5 MB, free: 9.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.3115, allocations: 59.19 kB / 479.6 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.3115, allocations: 4 kB / 479.6 MB, free: 9.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3116, allocations: 342.8 kB / 479.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.3118, allocations: 95.94 kB / 480 MB, free: 9.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3121, allocations: 177.1 kB / 480.2 MB, free: 9.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.3124, allocations: 210.3 kB / 480.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3124, allocations: 0 / 480.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004403/0.3128, allocations: 297.2 kB / 480.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3129, allocations: 4 kB / 480.7 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.3129, allocations: 11.98 kB / 480.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.3129, allocations: 0 / 480.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.3132, allocations: 51.91 kB / 480.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3132, allocations: 4 kB / 480.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3133, allocations: 31.72 kB / 480.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3133, allocations: 4.109 kB / 480.8 MB, free: 8.438 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.0001383/0.3135, allocations: 157.6 kB / 480.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.3135, allocations: 27.72 kB / 480.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.3136, allocations: 29.97 kB / 481 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3136, allocations: 0 / 481 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3136, allocations: 0 / 481 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3136, allocations: 3.984 kB / 481 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.3139, allocations: 273.3 kB / 481.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3139, allocations: 4 kB / 481.2 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3141, allocations: 27.98 kB / 481.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3141, allocations: 0 / 481.3 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.3141, allocations: 7.984 kB / 481.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.3141, allocations: 8 kB / 481.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3141, allocations: 0 / 481.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.3146, allocations: 338.6 kB / 481.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.3146, allocations: 96.83 kB / 481.7 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3147, allocations: 8.156 kB / 481.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.3148, allocations: 23.92 kB / 481.7 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3149, allocations: 11.98 kB / 481.8 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3149, allocations: 3.984 kB / 481.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.315, allocations: 199.1 kB / 482 MB, free: 7.145 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3151, allocations: 0 / 482 MB, free: 7.145 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.3154, allocations: 83.88 kB / 482 MB, free: 7.062 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.0002475/0.3157, allocations: 159.1 kB / 482.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.3161, allocations: 281.8 kB / 482.5 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3161, allocations: 0 / 482.5 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3162, allocations: 71.89 kB / 482.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.3166, allocations: 64.39 kB / 482.6 MB, free: 6.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.3176, allocations: 0.614 MB / 483.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3179, allocations: 0.7716 MB / 484 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.3181, allocations: 45.84 kB / 484 MB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.3181, allocations: 19.44 kB / 484 MB, free: 4.973 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3181, allocations: 4 kB / 484.1 MB, free: 4.969 MB / 362.7 MB Notification: Performance of Templates: time 0.006829/0.325, allocations: 3.511 MB / 487.6 MB, free: 1.477 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/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_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches