Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 89.61 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002826/0.0002826, allocations: 7.938 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2758, allocations: 50.42 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3859, allocations: 90.06 MB / 491.6 MB, free: 6.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.3862, allocations: 71.97 kB / 491.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02691/0.4131, allocations: 10.01 MB / 0.4899 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4132, allocations: 0 / 0.4899 GB, free: 12.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.785e-05/0.4132, allocations: 8 kB / 0.4899 GB, free: 12.31 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.0008557/0.4141, allocations: 0.5722 MB / 0.4904 GB, free: 11.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4141, allocations: 12.03 kB / 0.4905 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.4142, allocations: 31.62 kB / 0.4905 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/0.4147, allocations: 346.9 kB / 0.4908 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.4148, allocations: 8.188 kB / 0.4908 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.4148, allocations: 16 kB / 0.4908 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.4152, allocations: 222.3 kB / 0.4911 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4152, allocations: 0 / 0.4911 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.4152, allocations: 4 kB / 0.4911 GB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4152, allocations: 4 kB / 0.4911 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.4154, allocations: 92.5 kB / 0.4912 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007927/0.4162, allocations: 0.4934 MB / 0.4916 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.4165, allocations: 174.4 kB / 0.4918 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.4165, allocations: 4 kB / 0.4918 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4165, allocations: 30.56 kB / 0.4918 GB, free: 10.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.4165, allocations: 0 / 0.4918 GB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004371/0.417, allocations: 234.7 kB / 0.4921 GB, free: 9.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.4171, allocations: 290.7 kB / 0.4923 GB, free: 9.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4173, allocations: 247.7 kB / 0.4926 GB, free: 9.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.4174, allocations: 29.7 kB / 0.4926 GB, free: 9.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.897e-05/0.4175, allocations: 156.5 kB / 0.4927 GB, free: 9.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.4175, allocations: 51.28 kB / 0.4928 GB, free: 9.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.4175, allocations: 8 kB / 0.4928 GB, free: 9.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4176, allocations: 342.9 kB / 0.4931 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4178, allocations: 99.88 kB / 0.4932 GB, free: 8.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.418, allocations: 172.9 kB / 0.4934 GB, free: 8.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.4182, allocations: 131.5 kB / 0.4935 GB, free: 8.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4182, allocations: 0 / 0.4935 GB, free: 8.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004183/0.4186, allocations: 297.2 kB / 0.4938 GB, free: 7.973 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4187, allocations: 4 kB / 0.4938 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.4187, allocations: 7.984 kB / 0.4938 GB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.4187, allocations: 4 kB / 0.4938 GB, free: 7.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.419, allocations: 51.91 kB / 0.4939 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.419, allocations: 0 / 0.4939 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4191, allocations: 31.73 kB / 0.4939 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.4192, allocations: 11.98 kB / 0.4939 GB, free: 7.863 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.0001347/0.4193, allocations: 153.7 kB / 0.4941 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4193, allocations: 23.72 kB / 0.4941 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.4194, allocations: 29.97 kB / 0.4941 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4194, allocations: 4 kB / 0.4941 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4194, allocations: 0 / 0.4941 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4194, allocations: 0 / 0.4941 GB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.4197, allocations: 273.4 kB / 0.4944 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4197, allocations: 0 / 0.4944 GB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.4199, allocations: 23.98 kB / 0.4944 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4199, allocations: 0 / 0.4944 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4199, allocations: 8 kB / 0.4944 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.42, allocations: 0 / 0.4944 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.42, allocations: 4 kB / 0.4944 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.4204, allocations: 349 kB / 0.4947 GB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.4205, allocations: 104.7 kB / 0.4948 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.761e-05/0.4205, allocations: 8.062 kB / 0.4948 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.4206, allocations: 12.06 kB / 0.4949 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.4207, allocations: 15.94 kB / 0.4949 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4207, allocations: 4 kB / 0.4949 GB, free: 6.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001732/0.4209, allocations: 191.1 kB / 0.4951 GB, free: 6.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4209, allocations: 0 / 0.4951 GB, free: 6.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004198/0.4213, allocations: 95.86 kB / 0.4951 GB, free: 6.496 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.0003117/0.4217, allocations: 163 kB / 0.4953 GB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.4221, allocations: 273 kB / 0.4956 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4221, allocations: 0 / 0.4956 GB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.4223, allocations: 67.91 kB / 0.4956 GB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4226, allocations: 65.16 kB / 0.4957 GB, free: 5.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.4237, allocations: 0.6136 MB / 0.4963 GB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.424, allocations: 0.7794 MB / 0.497 GB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.4242, allocations: 50.02 kB / 0.4971 GB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.4242, allocations: 23.44 kB / 0.4971 GB, free: 4.395 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4242, allocations: 0 / 0.4971 GB, free: 4.395 MB / 378.7 MB Notification: Performance of Templates: time 0.006664/0.4309, allocations: 3.428 MB / 0.5005 GB, free: 0.9961 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches