Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008479, allocations: 104.6 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.851e-05/1.852e-05, allocations: 4 kB / 337 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09227, allocations: 50.42 MB / 387.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4049, allocations: 89.62 MB / 477.1 MB, free: 5.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4052, allocations: 67.97 kB / 477.1 MB, free: 5.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0992/0.5044, allocations: 35.56 MB / 0.5007 GB, free: 1.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5044, allocations: 0 / 0.5007 GB, free: 1.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.82e-05/0.5045, allocations: 24.06 kB / 0.5007 GB, free: 1.527 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002003/0.5065, allocations: 0.8064 MB / 0.5015 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5066, allocations: 12.03 kB / 0.5015 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5067, allocations: 43.44 kB / 0.5015 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5078, allocations: 459 kB / 0.502 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.5078, allocations: 4 kB / 0.502 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.5079, allocations: 27.84 kB / 0.502 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003864/0.5083, allocations: 120.5 kB / 0.5021 GB, free: 15.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.5087, allocations: 306.3 kB / 0.5024 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5088, allocations: 0 / 0.5024 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5088, allocations: 0 / 0.5024 GB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5088, allocations: 8 kB / 0.5024 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.5099, allocations: 0.6265 MB / 0.503 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.5105, allocations: 298.5 kB / 0.5033 GB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.5106, allocations: 89.2 kB / 0.5034 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.5107, allocations: 4.562 kB / 0.5034 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5107, allocations: 50.72 kB / 0.5035 GB, free: 14.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.5107, allocations: 4 kB / 0.5035 GB, free: 14.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.000536/0.5113, allocations: 267.7 kB / 0.5037 GB, free: 14.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002225/0.5115, allocations: 367.8 kB / 0.5041 GB, free: 13.78 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.5119, allocations: 333.1 kB / 0.5044 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.512, allocations: 25.7 kB / 0.5044 GB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.5122, allocations: 193.1 kB / 0.5046 GB, free: 13.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.5123, allocations: 82.81 kB / 0.5047 GB, free: 13.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.5123, allocations: 0 / 0.5047 GB, free: 13.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.5125, allocations: 358.8 kB / 0.505 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.5128, allocations: 180.5 kB / 0.5052 GB, free: 12.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.5132, allocations: 294.4 kB / 0.5055 GB, free: 12.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.5137, allocations: 217.5 kB / 0.5057 GB, free: 12.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5137, allocations: 4 kB / 0.5057 GB, free: 12.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001063/0.5148, allocations: 0.5988 MB / 0.5063 GB, free: 11.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5148, allocations: 4 kB / 0.5063 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.5149, allocations: 11.98 kB / 0.5063 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004055/0.5153, allocations: 122.5 kB / 0.5064 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5156, allocations: 67.91 kB / 0.5065 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.5156, allocations: 0 / 0.5065 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.5158, allocations: 43.42 kB / 0.5065 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.5159, allocations: 15.94 kB / 0.5065 GB, free: 11.18 MB / 394.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.516, allocations: 120.9 kB / 0.5066 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.5161, allocations: 39.48 kB / 0.5067 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.5163, allocations: 39.53 kB / 0.5067 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5163, allocations: 4 kB / 0.5067 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5163, allocations: 0 / 0.5067 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5163, allocations: 0 / 0.5067 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.5167, allocations: 313.8 kB / 0.507 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5167, allocations: 0 / 0.507 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.517, allocations: 47.92 kB / 0.507 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.517, allocations: 3.953 kB / 0.5071 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.5171, allocations: 11.98 kB / 0.5071 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5171, allocations: 4 kB / 0.5071 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5171, allocations: 0 / 0.5071 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.5177, allocations: 485.7 kB / 0.5075 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.5177, allocations: 112.6 kB / 0.5076 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.5178, allocations: 7.953 kB / 0.5076 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.518, allocations: 15.92 kB / 0.5077 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.518, allocations: 15.97 kB / 0.5077 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.5181, allocations: 8 kB / 0.5077 GB, free: 9.898 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.5183, allocations: 247 kB / 0.5079 GB, free: 9.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5183, allocations: 4 kB / 0.5079 GB, free: 9.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0021/0.5204, allocations: 0.6676 MB / 0.5086 GB, free: 8.988 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.001496/0.5219, allocations: 0.7167 MB / 0.5093 GB, free: 8.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.5229, allocations: 0.8223 MB / 0.5101 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5229, allocations: 0 / 0.5101 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.5231, allocations: 107.9 kB / 0.5102 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.5236, allocations: 94.81 kB / 0.5103 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5248, allocations: 0.7258 MB / 0.511 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5252, allocations: 0.8458 MB / 0.5118 GB, free: 5.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.5254, allocations: 71.22 kB / 0.5119 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.5254, allocations: 27.44 kB / 0.5119 GB, free: 5.422 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5254, allocations: 0 / 0.5119 GB, free: 5.422 MB / 394.7 MB Notification: Performance of Templates: time 0.01924/0.5447, allocations: 12.25 MB / 0.5239 GB, free: 9.191 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches