Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00269/0.00269, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.327/3.327, allocations: 205.4 MB / 223.6 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 91.33 kB / 271.9 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004794, allocations: 8 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4448, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.638, allocations: 89.71 MB / 465.4 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/0.6385, allocations: 71.95 kB / 465.5 MB, free: 6.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1704/0.8089, allocations: 35.59 MB / 0.4893 GB, free: 3.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.809, allocations: 0 / 0.4893 GB, free: 3.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.734e-05/0.8091, allocations: 16.12 kB / 0.4894 GB, free: 3.148 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.003259/0.8124, allocations: 0.8761 MB / 0.4902 GB, free: 2.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.8124, allocations: 12.03 kB / 0.4902 GB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.8126, allocations: 48.38 kB / 0.4903 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.8137, allocations: 465.8 kB / 0.4907 GB, free: 1.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.8138, allocations: 16.66 kB / 0.4907 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.8139, allocations: 28.28 kB / 0.4908 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007595/0.8147, allocations: 327.1 kB / 0.4911 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.8147, allocations: 192 / 0.4911 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.8148, allocations: 11.94 kB / 0.4911 GB, free: 1.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.8148, allocations: 4 kB / 0.4911 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.8152, allocations: 156.7 kB / 0.4912 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.8169, allocations: 0.6912 MB / 0.4919 GB, free: 340 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.8178, allocations: 314.9 kB / 0.4922 GB, free: 16 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3731/1.191, allocations: 107.2 kB / 0.4923 GB, free: 97.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/1.191, allocations: 9.375 kB / 0.4923 GB, free: 97.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/1.191, allocations: 40.3 kB / 0.4924 GB, free: 97.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 5.911e-06/1.191, allocations: 0.6562 kB / 0.4924 GB, free: 97.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.001511/1.193, allocations: 382.7 kB / 0.4927 GB, free: 97.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/1.193, allocations: 366.1 kB / 0.4931 GB, free: 97.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/1.194, allocations: 415 kB / 0.4935 GB, free: 96.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/1.194, allocations: 32.08 kB / 0.4935 GB, free: 96.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/1.194, allocations: 194.7 kB / 0.4937 GB, free: 96.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/1.194, allocations: 79.98 kB / 0.4938 GB, free: 96.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/1.194, allocations: 9.344 kB / 0.4938 GB, free: 96.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/1.194, allocations: 359.2 kB / 0.4941 GB, free: 96.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/1.195, allocations: 203.9 kB / 0.4943 GB, free: 96.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/1.196, allocations: 310.8 kB / 0.4946 GB, free: 96.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/1.197, allocations: 385.4 kB / 0.495 GB, free: 96.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.197, allocations: 0 / 0.495 GB, free: 96.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001921/1.199, allocations: 0.6401 MB / 0.4956 GB, free: 96.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/1.199, allocations: 4.469 kB / 0.4956 GB, free: 96.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-05/1.199, allocations: 14.41 kB / 0.4956 GB, free: 96.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/1.2, allocations: 127 kB / 0.4957 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/1.2, allocations: 65.8 kB / 0.4958 GB, free: 96.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/1.204, allocations: 4.221 MB / 0.4999 GB, free: 92.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/1.205, allocations: 48.11 kB / 0.5 GB, free: 92.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/1.205, allocations: 20.36 kB / 0.5 GB, free: 92.44 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.0003913/1.205, allocations: 174.8 kB / 0.5001 GB, free: 92.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/1.205, allocations: 40.88 kB / 0.5002 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/1.205, allocations: 47.88 kB / 0.5002 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.205, allocations: 2.969 kB / 0.5002 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.205, allocations: 0 / 0.5002 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.205, allocations: 0 / 0.5002 GB, free: 92.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/1.206, allocations: 352.1 kB / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.206, allocations: 0 / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/1.206, allocations: 47.73 kB / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/1.206, allocations: 4.062 kB / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/1.206, allocations: 13.27 kB / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.206, allocations: 0 / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.206, allocations: 1.469 kB / 0.5006 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.207, allocations: 0.5079 MB / 0.5011 GB, free: 91.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/1.208, allocations: 118.8 kB / 0.5012 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/1.208, allocations: 13.42 kB / 0.5013 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/1.208, allocations: 15.19 kB / 0.5013 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/1.208, allocations: 14.02 kB / 0.5013 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.208, allocations: 3.688 kB / 0.5013 GB, free: 91.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004373/1.209, allocations: 268.7 kB / 0.5015 GB, free: 91.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.209, allocations: 3.75 kB / 0.5015 GB, free: 91.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004005/1.213, allocations: 0.6904 MB / 0.5022 GB, free: 91.74 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.00361/1.216, allocations: 0.7128 MB / 0.5029 GB, free: 91.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002079/1.218, allocations: 0.9561 MB / 0.5039 GB, free: 91.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.218, allocations: 4.969 kB / 0.5039 GB, free: 91.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/1.219, allocations: 126.1 kB / 0.504 GB, free: 91.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/1.22, allocations: 101.6 kB / 0.5041 GB, free: 91.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/1.222, allocations: 1.062 MB / 0.5051 GB, free: 90.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.223, allocations: 0.8361 MB / 0.5059 GB, free: 89.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.223, allocations: 29.69 kB / 0.506 GB, free: 89.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.443e-06/1.223, allocations: 0 / 0.506 GB, free: 89.89 MB / 378.7 MB Notification: Performance of Templates: time 0.02764/1.251, allocations: 11.98 MB / 0.5177 GB, free: 89.39 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches