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.001599/0.001599, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.016/2.016, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001135, allocations: 78.72 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.803e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09384/0.09389, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5212, allocations: 89.21 MB / 458.3 MB, free: 4.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.5216, allocations: 69.16 kB / 458.3 MB, free: 4.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04817/0.5698, allocations: 9.895 MB / 468.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5699, allocations: 0 / 468.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.431e-05/0.5699, allocations: 15.88 kB / 468.3 MB, free: 11.79 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.00104/0.571, allocations: 0.5182 MB / 468.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.571, allocations: 12.03 kB / 468.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.5712, allocations: 31.62 kB / 468.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.572, allocations: 349 kB / 469.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.572, allocations: 7.25 kB / 469.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/0.5721, allocations: 26.86 kB / 469.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004427/0.5726, allocations: 213.7 kB / 469.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5726, allocations: 0 / 469.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.5726, allocations: 7.375 kB / 469.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5727, allocations: 0 / 469.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.5729, allocations: 76.09 kB / 469.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.5742, allocations: 0.4925 MB / 470 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.5747, allocations: 164.5 kB / 470.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.5749, allocations: 55.84 kB / 470.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.5749, allocations: 112 / 470.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.575, allocations: 41.75 kB / 470.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.575, allocations: 0 / 470.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004792/0.5755, allocations: 152.6 kB / 470.4 MB, free: 9.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.5756, allocations: 298.7 kB / 470.7 MB, free: 9.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.5761, allocations: 242.7 kB / 470.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.5761, allocations: 33.7 kB / 470.9 MB, free: 9.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.5763, allocations: 210.9 kB / 471.1 MB, free: 8.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.5764, allocations: 47.27 kB / 471.2 MB, free: 8.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.5764, allocations: 7.938 kB / 471.2 MB, free: 8.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5766, allocations: 322.8 kB / 471.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.5769, allocations: 91.91 kB / 471.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.5772, allocations: 168.5 kB / 471.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.5775, allocations: 118.9 kB / 471.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5776, allocations: 0 / 471.9 MB, free: 8.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006884/0.5783, allocations: 269.4 kB / 472.2 MB, free: 7.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5783, allocations: 4 kB / 472.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/0.5784, allocations: 4 kB / 472.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5784, allocations: 0 / 472.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.5792, allocations: 63.84 kB / 472.2 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5793, allocations: 0 / 472.2 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.5797, allocations: 31.69 kB / 472.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-05/0.5798, allocations: 11.98 kB / 472.3 MB, free: 7.68 MB / 346.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 0.0002008/0.58, allocations: 121 kB / 472.4 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5801, allocations: 23.72 kB / 472.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.5803, allocations: 26.09 kB / 472.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.5803, allocations: 7.984 kB / 472.4 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.5803, allocations: 7.953 kB / 472.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5804, allocations: 0 / 472.4 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.5811, allocations: 261.5 kB / 472.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.5811, allocations: 3.984 kB / 472.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.5817, allocations: 27.92 kB / 472.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5818, allocations: 0 / 472.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.5818, allocations: 8 kB / 472.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5819, allocations: 0 / 472.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5819, allocations: 0 / 472.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.583, allocations: 327.1 kB / 473.1 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5831, allocations: 100.7 kB / 473.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.5832, allocations: 12.05 kB / 473.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003885/0.5837, allocations: 12 kB / 473.2 MB, free: 6.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.5838, allocations: 7.984 kB / 473.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.5838, allocations: 3.953 kB / 473.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004444/0.5843, allocations: 194.2 kB / 473.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5843, allocations: 0 / 473.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007667/0.5851, allocations: 99.83 kB / 473.5 MB, free: 6.367 MB / 346.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.0004981/0.5856, allocations: 155.1 kB / 473.6 MB, free: 6.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.5865, allocations: 270.3 kB / 473.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5866, allocations: 0 / 473.9 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.5869, allocations: 63.91 kB / 474 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009385/0.5878, allocations: 70.59 kB / 474 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.5899, allocations: 470.1 kB / 474.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.5905, allocations: 0.7716 MB / 475.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.5907, allocations: 27.44 kB / 475.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.5908, allocations: 0 / 475.3 MB, free: 4.477 MB / 346.7 MB Notification: Performance of Templates: time 0.01014/0.6009, allocations: 3.85 MB / 479.1 MB, free: 0.6289 MB / 346.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