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.001698/0.001698, allocations: 175.2 kB / 17.4 MB, free: 4.418 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.536/1.536, allocations: 223.3 MB / 241.4 MB, free: 11.69 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.001056/0.001055, allocations: 99.47 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004439/0.000444, allocations: 12 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3496, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.5116, allocations: 90.45 MB / 493.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.512, allocations: 71.97 kB / 493.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4255/0.9376, allocations: 35.76 MB / 0.5166 GB, free: 88.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.9377, allocations: 3.688 kB / 0.5166 GB, free: 88.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.552e-05/0.9377, allocations: 19.5 kB / 0.5166 GB, free: 88.41 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.002619/0.9404, allocations: 0.88 MB / 0.5175 GB, free: 87.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9404, allocations: 7.5 kB / 0.5175 GB, free: 87.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.9406, allocations: 46.97 kB / 0.5176 GB, free: 87.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.9416, allocations: 473.2 kB / 0.518 GB, free: 87.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.9416, allocations: 20.25 kB / 0.518 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.912e-05/0.9417, allocations: 23.38 kB / 0.518 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.9422, allocations: 339.8 kB / 0.5184 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.9422, allocations: 3.938 kB / 0.5184 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.9423, allocations: 7.938 kB / 0.5184 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9423, allocations: 3.75 kB / 0.5184 GB, free: 87.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.9426, allocations: 153.7 kB / 0.5185 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.9438, allocations: 0.6767 MB / 0.5192 GB, free: 86.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.9445, allocations: 315.3 kB / 0.5195 GB, free: 86.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.9447, allocations: 114.3 kB / 0.5196 GB, free: 86.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.9448, allocations: 6.594 kB / 0.5196 GB, free: 86.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.9448, allocations: 38.41 kB / 0.5196 GB, free: 86.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 2.304e-06/0.9448, allocations: 0 / 0.5196 GB, free: 86.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007434/0.9456, allocations: 387.8 kB / 0.52 GB, free: 86.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.9457, allocations: 375 kB / 0.5204 GB, free: 86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.9462, allocations: 400.4 kB / 0.5208 GB, free: 85.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.9462, allocations: 33.7 kB / 0.5208 GB, free: 85.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.9464, allocations: 198.8 kB / 0.521 GB, free: 85.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.733e-05/0.9464, allocations: 81.62 kB / 0.5211 GB, free: 85.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.9465, allocations: 7.906 kB / 0.5211 GB, free: 85.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9466, allocations: 353.8 kB / 0.5214 GB, free: 85.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/0.9469, allocations: 203 kB / 0.5216 GB, free: 85.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.9474, allocations: 308.1 kB / 0.5219 GB, free: 84.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.9479, allocations: 392.7 kB / 0.5223 GB, free: 84.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9479, allocations: 0 / 0.5223 GB, free: 84.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001095/0.949, allocations: 0.6383 MB / 0.5229 GB, free: 84.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.9491, allocations: 13.88 kB / 0.5229 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.835e-05/0.9491, allocations: 14.27 kB / 0.5229 GB, free: 84.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.9495, allocations: 123.3 kB / 0.523 GB, free: 84.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.9498, allocations: 68.45 kB / 0.5231 GB, free: 84.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.953, allocations: 4.228 MB / 0.5272 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.9532, allocations: 41.53 kB / 0.5273 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.9533, allocations: 15.12 kB / 0.5273 GB, free: 80.46 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.0002668/0.9536, allocations: 177.7 kB / 0.5274 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/0.9537, allocations: 38.19 kB / 0.5275 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.9538, allocations: 46.59 kB / 0.5275 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.9538, allocations: 7.688 kB / 0.5275 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9538, allocations: 0 / 0.5275 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.9538, allocations: 7.594 kB / 0.5275 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.9543, allocations: 349.7 kB / 0.5279 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.9543, allocations: 0 / 0.5279 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.9546, allocations: 45.38 kB / 0.5279 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.9546, allocations: 0 / 0.5279 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.9547, allocations: 11.72 kB / 0.5279 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9547, allocations: 0 / 0.5279 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9547, allocations: 3.625 kB / 0.5279 GB, free: 80 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.9555, allocations: 0.5078 MB / 0.5284 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.9556, allocations: 115.7 kB / 0.5285 GB, free: 79.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/0.9556, allocations: 19.38 kB / 0.5286 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.9558, allocations: 19.03 kB / 0.5286 GB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/0.9559, allocations: 15.08 kB / 0.5286 GB, free: 79.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.956, allocations: 7.594 kB / 0.5286 GB, free: 79.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003523/0.9563, allocations: 267.8 kB / 0.5289 GB, free: 79.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9563, allocations: 0 / 0.5289 GB, free: 79.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002898/0.9592, allocations: 0.6904 MB / 0.5295 GB, free: 79.41 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.003027/0.9623, allocations: 0.6945 MB / 0.5302 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.9637, allocations: 0.9511 MB / 0.5311 GB, free: 78.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9637, allocations: 3.938 kB / 0.5311 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.9639, allocations: 125 kB / 0.5313 GB, free: 78.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.9646, allocations: 109 kB / 0.5314 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.966, allocations: 1.006 MB / 0.5323 GB, free: 77.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.9664, allocations: 0.836 MB / 0.5332 GB, free: 76.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.9666, allocations: 77.98 kB / 0.5332 GB, free: 76.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.9667, allocations: 27.44 kB / 0.5333 GB, free: 76.17 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9667, allocations: 0 / 0.5333 GB, free: 76.17 MB / 378.7 MB Notification: Performance of Templates: time 0.02118/0.9879, allocations: 12.39 MB / 0.5454 GB, free: 68.41 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/jenkins1/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