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.001702/0.001702, allocations: 175.9 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.929/2.929, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.001191/0.00119, allocations: 91.12 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005522/0.0005523, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7151, allocations: 47.58 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.9024, allocations: 89.42 MB / 465.1 MB, free: 7.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.9029, allocations: 67.97 kB / 465.2 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04129/0.9442, allocations: 9.944 MB / 475.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.401e-06/0.9443, allocations: 0 / 475.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.9443, allocations: 4 kB / 475.1 MB, free: 13.16 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.001352/0.9457, allocations: 0.5724 MB / 475.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.9458, allocations: 8.031 kB / 475.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.9459, allocations: 32.56 kB / 475.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.9468, allocations: 360 kB / 476.1 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.9468, allocations: 12.56 kB / 476.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.9469, allocations: 16.28 kB / 476.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.9474, allocations: 237.1 kB / 476.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9474, allocations: 0 / 476.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.9475, allocations: 4 kB / 476.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.9475, allocations: 4 kB / 476.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.9478, allocations: 95.88 kB / 476.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.949, allocations: 0.4926 MB / 477 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.9495, allocations: 172.5 kB / 477.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.9497, allocations: 60.83 kB / 477.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.9497, allocations: 0 / 477.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.9498, allocations: 34.56 kB / 477.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.9498, allocations: 4 kB / 477.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007193/0.9505, allocations: 225.3 kB / 477.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/0.9507, allocations: 286.7 kB / 477.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.9512, allocations: 280.5 kB / 478 MB, free: 10.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.9512, allocations: 29.7 kB / 478 MB, free: 9.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.9514, allocations: 152.5 kB / 478.2 MB, free: 9.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.9515, allocations: 59.19 kB / 478.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.9515, allocations: 8 kB / 478.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.9517, allocations: 342.7 kB / 478.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.952, allocations: 95.94 kB / 478.7 MB, free: 9.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.9524, allocations: 177.4 kB / 478.8 MB, free: 9.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.9529, allocations: 210.3 kB / 479.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9529, allocations: 96 / 479.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008318/0.9538, allocations: 301.2 kB / 479.3 MB, free: 8.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.9538, allocations: 12 kB / 479.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-05/0.9539, allocations: 7.984 kB / 479.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.9539, allocations: 0 / 479.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.9544, allocations: 51.91 kB / 479.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.9545, allocations: 0 / 479.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.9547, allocations: 27.73 kB / 479.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.9548, allocations: 8.109 kB / 479.5 MB, free: 8.508 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.0002884/0.9551, allocations: 149.7 kB / 479.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.9552, allocations: 27.72 kB / 479.6 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.9553, allocations: 33.91 kB / 479.7 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.9554, allocations: 4 kB / 479.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.9554, allocations: 4 kB / 479.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9554, allocations: 0 / 479.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005927/0.956, allocations: 277.3 kB / 479.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.956, allocations: 0 / 479.9 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.9564, allocations: 23.98 kB / 480 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.9565, allocations: 0 / 480 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.9565, allocations: 11.98 kB / 480 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.9566, allocations: 4 kB / 480 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9566, allocations: 0 / 480 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.9576, allocations: 342 kB / 480.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.9577, allocations: 96.83 kB / 480.4 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.294e-05/0.9577, allocations: 4.062 kB / 480.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.958, allocations: 15.98 kB / 480.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.958, allocations: 15.98 kB / 480.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.9581, allocations: 4 kB / 480.4 MB, free: 7.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003024/0.9584, allocations: 187.1 kB / 480.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9584, allocations: 0 / 480.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006499/0.959, allocations: 91.86 kB / 480.7 MB, free: 7.148 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.000374/0.9594, allocations: 159.1 kB / 480.9 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006624/0.9601, allocations: 281.6 kB / 481.1 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9601, allocations: 0 / 481.1 MB, free: 6.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.9603, allocations: 67.91 kB / 481.2 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/0.961, allocations: 72.98 kB / 481.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.9626, allocations: 0.6548 MB / 481.9 MB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.9632, allocations: 0.7716 MB / 482.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.9633, allocations: 27.38 kB / 482.7 MB, free: 5.051 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.9633, allocations: 0 / 482.7 MB, free: 5.051 MB / 362.7 MB Notification: Performance of Templates: time 0.01467/0.978, allocations: 3.855 MB / 486.6 MB, free: 1.199 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