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.001078/0.001078, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.315/1.315, allocations: 221.4 MB / 235.5 MB, free: 2.953 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.0008483/0.0008484, allocations: 95.67 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.178e-05, allocations: 4 kB / 343.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09095, allocations: 50.42 MB / 394.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.3804, allocations: 90.27 MB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.3806, allocations: 77.33 kB / 484.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1027/0.4833, allocations: 35.68 MB / 0.5081 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4833, allocations: 0 / 0.5081 GB, free: 9.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.858e-05/0.4834, allocations: 15.94 kB / 0.5081 GB, free: 9.43 MB / 394.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.001721/0.4851, allocations: 0.822 MB / 0.5089 GB, free: 8.559 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4852, allocations: 8.031 kB / 0.5089 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4853, allocations: 51.42 kB / 0.5089 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000718/0.486, allocations: 440.9 kB / 0.5094 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.486, allocations: 16.28 kB / 0.5094 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.4861, allocations: 35.86 kB / 0.5094 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.4866, allocations: 322.6 kB / 0.5097 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.4866, allocations: 0 / 0.5097 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.4866, allocations: 8 kB / 0.5097 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4866, allocations: 0 / 0.5097 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.4868, allocations: 136.7 kB / 0.5099 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.488, allocations: 0.6758 MB / 0.5105 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.4885, allocations: 324.5 kB / 0.5108 GB, free: 6.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.4887, allocations: 97.19 kB / 0.5109 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.4887, allocations: 4.188 kB / 0.5109 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4888, allocations: 34.75 kB / 0.511 GB, free: 6.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.4888, allocations: 0 / 0.511 GB, free: 6.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005083/0.4893, allocations: 290.6 kB / 0.5112 GB, free: 5.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.4894, allocations: 371.8 kB / 0.5116 GB, free: 5.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.4898, allocations: 351 kB / 0.5119 GB, free: 5.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.4898, allocations: 37.7 kB / 0.512 GB, free: 5.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.49, allocations: 192.8 kB / 0.5121 GB, free: 4.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.288e-05/0.49, allocations: 82.72 kB / 0.5122 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.4901, allocations: 8 kB / 0.5122 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4902, allocations: 358.8 kB / 0.5126 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.4905, allocations: 184.5 kB / 0.5128 GB, free: 4.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.4908, allocations: 298.4 kB / 0.513 GB, free: 3.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.4911, allocations: 230.6 kB / 0.5133 GB, free: 3.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4912, allocations: 0 / 0.5133 GB, free: 3.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009925/0.4922, allocations: 0.6185 MB / 0.5139 GB, free: 3.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4922, allocations: 11.94 kB / 0.5139 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.394e-05/0.4922, allocations: 11.98 kB / 0.5139 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/0.4927, allocations: 122.5 kB / 0.514 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.493, allocations: 75.91 kB / 0.5141 GB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.496, allocations: 4.208 MB / 0.5182 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.4963, allocations: 51.77 kB / 0.5182 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.4963, allocations: 15.95 kB / 0.5182 GB, free: 14.21 MB / 410.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): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4965, allocations: 128.9 kB / 0.5184 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.4965, allocations: 39.52 kB / 0.5184 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.4967, allocations: 43.53 kB / 0.5185 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4967, allocations: 4 kB / 0.5185 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4967, allocations: 0 / 0.5185 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4967, allocations: 7.984 kB / 0.5185 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.4971, allocations: 353.2 kB / 0.5188 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4971, allocations: 0 / 0.5188 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.4974, allocations: 47.91 kB / 0.5188 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4974, allocations: 0 / 0.5188 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.4975, allocations: 11.98 kB / 0.5189 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4975, allocations: 7.984 kB / 0.5189 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4975, allocations: 0 / 0.5189 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.4981, allocations: 0.4905 MB / 0.5193 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-05/0.4982, allocations: 108.6 kB / 0.5194 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.4982, allocations: 15.98 kB / 0.5195 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.4984, allocations: 15.98 kB / 0.5195 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.4985, allocations: 15.98 kB / 0.5195 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.4985, allocations: 4 kB / 0.5195 GB, free: 12.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.4988, allocations: 265.2 kB / 0.5197 GB, free: 12.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4988, allocations: 0 / 0.5197 GB, free: 12.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001924/0.5007, allocations: 0.6833 MB / 0.5204 GB, free: 11.91 MB / 410.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.001554/0.5023, allocations: 0.7081 MB / 0.5211 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5035, allocations: 0.9344 MB / 0.522 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5035, allocations: 7.875 kB / 0.522 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.5037, allocations: 115.3 kB / 0.5221 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.5042, allocations: 104.4 kB / 0.5222 GB, free: 9.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.5053, allocations: 0.7285 MB / 0.5229 GB, free: 9.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.5057, allocations: 0.8535 MB / 0.5238 GB, free: 8.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.5059, allocations: 70.92 kB / 0.5238 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.5059, allocations: 31.42 kB / 0.5239 GB, free: 8.234 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5059, allocations: 0 / 0.5239 GB, free: 8.234 MB / 410.7 MB Notification: Performance of Templates: time 0.02189/0.5278, allocations: 14.74 MB / 0.5383 GB, free: 9.516 MB / 426.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