Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009185/0.0009186, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.152/1.152, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008546/0.0008545, allocations: 105.1 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001976/0.0001976, allocations: 4 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1633, allocations: 51.49 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0897/0.2531, allocations: 90.86 MB / 0.4885 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.2533, allocations: 71.97 kB / 0.4886 GB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02529/0.2786, allocations: 10.07 MB / 0.4984 GB, free: 5.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2786, allocations: 0 / 0.4984 GB, free: 5.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.2786, allocations: 11.94 kB / 0.4985 GB, free: 5.547 MB / 378.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.0007357/0.2794, allocations: 0.5684 MB / 0.499 GB, free: 4.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.2794, allocations: 12.03 kB / 0.499 GB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.2795, allocations: 31.62 kB / 0.4991 GB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.28, allocations: 346.8 kB / 0.4994 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.28, allocations: 8.188 kB / 0.4994 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.28, allocations: 19.98 kB / 0.4994 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.2803, allocations: 221.6 kB / 0.4996 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2803, allocations: 0 / 0.4996 GB, free: 4.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.2804, allocations: 8 kB / 0.4996 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2804, allocations: 0 / 0.4996 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2805, allocations: 104.4 kB / 0.4997 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007218/0.2813, allocations: 0.4972 MB / 0.5002 GB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.2815, allocations: 166.4 kB / 0.5004 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2816, allocations: 3.984 kB / 0.5004 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2816, allocations: 34.56 kB / 0.5004 GB, free: 3.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.2816, allocations: 0 / 0.5004 GB, free: 3.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004064/0.282, allocations: 233.2 kB / 0.5006 GB, free: 3.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.2821, allocations: 294.7 kB / 0.5009 GB, free: 2.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.2823, allocations: 243.7 kB / 0.5012 GB, free: 2.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2824, allocations: 33.7 kB / 0.5012 GB, free: 2.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.161e-05/0.2825, allocations: 156.4 kB / 0.5013 GB, free: 2.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.2825, allocations: 47.36 kB / 0.5014 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.2825, allocations: 4 kB / 0.5014 GB, free: 2.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2826, allocations: 342.8 kB / 0.5017 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2828, allocations: 95.94 kB / 0.5018 GB, free: 1.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.283, allocations: 168.9 kB / 0.502 GB, free: 1.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2832, allocations: 131.5 kB / 0.5021 GB, free: 1.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2832, allocations: 0 / 0.5021 GB, free: 1.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004088/0.2836, allocations: 297.5 kB / 0.5024 GB, free: 1.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2836, allocations: 4 kB / 0.5024 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.2837, allocations: 7.984 kB / 0.5024 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2837, allocations: 4 kB / 0.5024 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.2839, allocations: 51.91 kB / 0.5024 GB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2839, allocations: 7.953 kB / 0.5024 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.2841, allocations: 35.66 kB / 0.5025 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2841, allocations: 4 kB / 0.5025 GB, free: 1.094 MB / 378.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.0001235/0.2842, allocations: 149.8 kB / 0.5026 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.2843, allocations: 23.72 kB / 0.5026 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.552e-05/0.2843, allocations: 29.97 kB / 0.5027 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2843, allocations: 4 kB / 0.5027 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2843, allocations: 0 / 0.5027 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2844, allocations: 7.938 kB / 0.5027 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.2846, allocations: 265.5 kB / 0.5029 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2846, allocations: 4 kB / 0.5029 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2848, allocations: 23.98 kB / 0.503 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2848, allocations: 0 / 0.503 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2848, allocations: 11.98 kB / 0.503 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2848, allocations: 4 kB / 0.503 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2848, allocations: 112 / 0.503 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003954/0.2852, allocations: 343.9 kB / 0.5033 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.2853, allocations: 104.7 kB / 0.5034 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.2854, allocations: 8.062 kB / 0.5034 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2855, allocations: 15.98 kB / 0.5034 GB, free: 20 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2855, allocations: 11.98 kB / 0.5034 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.2855, allocations: 0 / 0.5034 GB, free: 8 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1348/0.4204, allocations: 191.5 kB / 0.5036 GB, free: 92.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4204, allocations: 0 / 0.5036 GB, free: 92.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.4209, allocations: 92.45 kB / 0.5037 GB, free: 92.18 MB / 378.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.0003255/0.4213, allocations: 154.1 kB / 0.5039 GB, free: 92.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.4218, allocations: 282.4 kB / 0.5041 GB, free: 92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4218, allocations: 0.9375 kB / 0.5041 GB, free: 92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.4219, allocations: 66.27 kB / 0.5042 GB, free: 92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4224, allocations: 60.77 kB / 0.5043 GB, free: 92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.4233, allocations: 0.6141 MB / 0.5049 GB, free: 91.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.4236, allocations: 0.7794 MB / 0.5056 GB, free: 90.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.4237, allocations: 43.77 kB / 0.5057 GB, free: 90.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.4238, allocations: 21.56 kB / 0.5057 GB, free: 90.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4238, allocations: 0 / 0.5057 GB, free: 90.98 MB / 378.7 MB Notification: Performance of Templates: time 0.006357/0.4301, allocations: 3.442 MB / 0.509 GB, free: 90.8 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches