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.001085/0.001085, allocations: 180.2 kB / 16.39 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.339/1.339, 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.0008409/0.000841, allocations: 84.89 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 15.94 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2665, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3849, allocations: 90.34 MB / 491.8 MB, free: 6.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.3853, allocations: 74.22 kB / 491.9 MB, free: 6.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3265/0.7118, allocations: 35.76 MB / 0.5153 GB, free: 88.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.7118, allocations: 0 / 0.5153 GB, free: 88.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.32e-05/0.7119, allocations: 15.88 kB / 0.5153 GB, free: 88.43 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.002543/0.7144, allocations: 0.892 MB / 0.5162 GB, free: 87.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7145, allocations: 7.562 kB / 0.5162 GB, free: 87.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.7147, allocations: 45.59 kB / 0.5162 GB, free: 87.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009369/0.7156, allocations: 444.6 kB / 0.5167 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.7157, allocations: 11.78 kB / 0.5167 GB, free: 87.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.414e-05/0.7158, allocations: 23.84 kB / 0.5167 GB, free: 87.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.7163, allocations: 339.8 kB / 0.517 GB, free: 87.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.7163, allocations: 0 / 0.517 GB, free: 87.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.7164, allocations: 11.69 kB / 0.517 GB, free: 87.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.7164, allocations: 3.75 kB / 0.517 GB, free: 87.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.7167, allocations: 162.1 kB / 0.5172 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.718, allocations: 0.6864 MB / 0.5179 GB, free: 86.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.7186, allocations: 322.5 kB / 0.5182 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.7186, allocations: 0.5625 kB / 0.5182 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.7186, allocations: 50.38 kB / 0.5182 GB, free: 86.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.7186, allocations: 0 / 0.5182 GB, free: 86.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006289/0.7193, allocations: 385.4 kB / 0.5186 GB, free: 86.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.7194, allocations: 374.4 kB / 0.5189 GB, free: 86.06 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003387/0.7197, allocations: 358.1 kB / 0.5193 GB, free: 85.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.7198, allocations: 29.7 kB / 0.5193 GB, free: 85.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.7199, allocations: 197.7 kB / 0.5195 GB, free: 85.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.347e-05/0.72, allocations: 85.59 kB / 0.5196 GB, free: 85.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.72, allocations: 7.828 kB / 0.5196 GB, free: 85.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7201, allocations: 357.4 kB / 0.5199 GB, free: 85.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.7204, allocations: 195.2 kB / 0.5201 GB, free: 85.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.7208, allocations: 313.1 kB / 0.5204 GB, free: 85.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.7211, allocations: 238.6 kB / 0.5206 GB, free: 84.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7212, allocations: 0 / 0.5206 GB, free: 84.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009667/0.7221, allocations: 0.6391 MB / 0.5213 GB, free: 84.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.7222, allocations: 10.19 kB / 0.5213 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-05/0.7222, allocations: 14.77 kB / 0.5213 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.7226, allocations: 129.4 kB / 0.5214 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.7229, allocations: 63.64 kB / 0.5215 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.7254, allocations: 4.258 MB / 0.5256 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.7256, allocations: 50.53 kB / 0.5257 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.7257, allocations: 15.34 kB / 0.5257 GB, free: 80.61 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 (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.0002436/0.726, allocations: 181.8 kB / 0.5259 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.726, allocations: 38.53 kB / 0.5259 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/0.7261, allocations: 50.12 kB / 0.5259 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7261, allocations: 0 / 0.5259 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.7261, allocations: 0 / 0.5259 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7262, allocations: 3.891 kB / 0.5259 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.7265, allocations: 346.5 kB / 0.5263 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.7265, allocations: 3.656 kB / 0.5263 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.7268, allocations: 41.73 kB / 0.5263 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.7268, allocations: 0 / 0.5263 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.7269, allocations: 14.02 kB / 0.5263 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.7269, allocations: 0 / 0.5263 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.7269, allocations: 11.53 kB / 0.5263 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.7275, allocations: 0.5049 MB / 0.5268 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.7276, allocations: 107.7 kB / 0.5269 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.7277, allocations: 10.52 kB / 0.527 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.7278, allocations: 22.59 kB / 0.527 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.7279, allocations: 15.44 kB / 0.527 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.7279, allocations: 7.547 kB / 0.527 GB, free: 79.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002845/0.7282, allocations: 268.5 kB / 0.5272 GB, free: 79.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7282, allocations: 0 / 0.5272 GB, free: 79.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002299/0.7305, allocations: 0.705 MB / 0.5279 GB, free: 79.55 MB / 378.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 () * Number of clocked 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.002622/0.7332, allocations: 0.705 MB / 0.5286 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.7344, allocations: 0.9448 MB / 0.5295 GB, free: 78.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7344, allocations: 4 kB / 0.5296 GB, free: 78.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.7346, allocations: 123.3 kB / 0.5297 GB, free: 78.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.7351, allocations: 100.7 kB / 0.5298 GB, free: 78.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.7366, allocations: 0.9997 MB / 0.5307 GB, free: 77.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.7369, allocations: 0.855 MB / 0.5316 GB, free: 76.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002322/0.7371, allocations: 66.19 kB / 0.5316 GB, free: 76.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.7372, allocations: 27.44 kB / 0.5317 GB, free: 76.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7372, allocations: 0 / 0.5317 GB, free: 76.57 MB / 378.7 MB Notification: Performance of Templates: time 0.02078/0.758, allocations: 12.28 MB / 0.5437 GB, free: 69.09 MB / 378.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