Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001001/0.001001, allocations: 194.4 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008039/0.0008039, allocations: 98.41 kB / 297.4 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002257/0.0002257, allocations: 4 kB / 357.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3138, allocations: 90.86 MB / 499.5 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.314, allocations: 75.95 kB / 499.6 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02672/0.3408, allocations: 10.07 MB / 0.4977 GB, free: 6.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3408, allocations: 0 / 0.4977 GB, free: 6.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.321e-05/0.3408, allocations: 11.94 kB / 0.4977 GB, free: 6.586 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.0008923/0.3417, allocations: 0.5647 MB / 0.4983 GB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.3418, allocations: 8.031 kB / 0.4983 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/0.3419, allocations: 32.56 kB / 0.4983 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.3424, allocations: 356 kB / 0.4986 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3425, allocations: 16.55 kB / 0.4987 GB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.3425, allocations: 16.38 kB / 0.4987 GB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.3428, allocations: 232.3 kB / 0.4989 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3429, allocations: 0 / 0.4989 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.3429, allocations: 8 kB / 0.4989 GB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.3429, allocations: 4 kB / 0.4989 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.3431, allocations: 87.94 kB / 0.499 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.3439, allocations: 0.5042 MB / 0.4995 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.3441, allocations: 173.7 kB / 0.4997 GB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3443, allocations: 52.83 kB / 0.4997 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3443, allocations: 8.109 kB / 0.4997 GB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.3443, allocations: 34.5 kB / 0.4997 GB, free: 4.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3443, allocations: 3.938 kB / 0.4997 GB, free: 4.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004305/0.3448, allocations: 229.4 kB / 0.5 GB, free: 4.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3449, allocations: 290.7 kB / 0.5002 GB, free: 3.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.3451, allocations: 276.6 kB / 0.5005 GB, free: 3.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3452, allocations: 29.7 kB / 0.5005 GB, free: 3.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3453, allocations: 156.4 kB / 0.5007 GB, free: 3.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.3453, allocations: 47.27 kB / 0.5007 GB, free: 3.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.3453, allocations: 7.984 kB / 0.5007 GB, free: 3.195 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3454, allocations: 342.8 kB / 0.5011 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.3456, allocations: 99.94 kB / 0.5012 GB, free: 2.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.3458, allocations: 180.8 kB / 0.5013 GB, free: 2.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.3462, allocations: 210 kB / 0.5015 GB, free: 2.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3462, allocations: 0 / 0.5015 GB, free: 2.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004385/0.3466, allocations: 289.3 kB / 0.5018 GB, free: 2.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3467, allocations: 4 kB / 0.5018 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.3467, allocations: 8 kB / 0.5018 GB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.3467, allocations: 4 kB / 0.5018 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.347, allocations: 51.89 kB / 0.5019 GB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.347, allocations: 8 kB / 0.5019 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3471, allocations: 27.69 kB / 0.5019 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.3471, allocations: 4 kB / 0.5019 GB, free: 1.945 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.3472, allocations: 157.7 kB / 0.5021 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.3473, allocations: 23.72 kB / 0.5021 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.3474, allocations: 29.97 kB / 0.5021 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3474, allocations: 0 / 0.5021 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3474, allocations: 4 kB / 0.5021 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3474, allocations: 8 kB / 0.5021 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.3476, allocations: 273.4 kB / 0.5024 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3477, allocations: 0 / 0.5024 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.3478, allocations: 23.98 kB / 0.5024 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3478, allocations: 0 / 0.5024 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3479, allocations: 8 kB / 0.5024 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3479, allocations: 0 / 0.5024 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3479, allocations: 0 / 0.5024 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.3483, allocations: 345.4 kB / 0.5027 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3484, allocations: 100.7 kB / 0.5028 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3484, allocations: 12.05 kB / 0.5029 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3486, allocations: 8 kB / 0.5029 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.3486, allocations: 11.98 kB / 0.5029 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.3486, allocations: 0 / 0.5029 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.3488, allocations: 199.2 kB / 0.5031 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3488, allocations: 3.938 kB / 0.5031 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.3492, allocations: 91.92 kB / 0.5032 GB, free: 0.582 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.0002612/0.3494, allocations: 164 kB / 0.5033 GB, free: 420 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.3498, allocations: 284.9 kB / 0.5036 GB, free: 116 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3498, allocations: 0 / 0.5036 GB, free: 116 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.35, allocations: 67.97 kB / 0.5036 GB, free: 48 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1541/0.5041, allocations: 61.5 kB / 0.5037 GB, free: 93.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.5054, allocations: 0.6485 MB / 0.5043 GB, free: 92.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5056, allocations: 0.7717 MB / 0.5051 GB, free: 92.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.5057, allocations: 21.97 kB / 0.5051 GB, free: 92.23 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5057, allocations: 3.375 kB / 0.5051 GB, free: 92.23 MB / 378.7 MB Notification: Performance of Templates: time 0.006296/0.512, allocations: 3.847 MB / 0.5089 GB, free: 91.99 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches