Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007858/0.0007859, allocations: 101.9 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.287e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1364, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5245, allocations: 90.27 MB / 485.4 MB, free: 3.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.5247, allocations: 67.22 kB / 485.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04422/0.5689, allocations: 16.93 MB / 0.4906 GB, free: 3.625 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.569, allocations: 3.938 kB / 0.4907 GB, free: 3.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.569, allocations: 8 kB / 0.4907 GB, free: 3.613 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009165/0.5699, allocations: 0.5432 MB / 0.4912 GB, free: 3.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.57, allocations: 12.02 kB / 0.4912 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.57, allocations: 15.81 kB / 0.4912 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.5704, allocations: 228.7 kB / 0.4914 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5704, allocations: 0 / 0.4914 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.5705, allocations: 11.61 kB / 0.4914 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001579/0.5706, allocations: 49.91 kB / 0.4915 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.5709, allocations: 112.1 kB / 0.4916 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5709, allocations: 0 / 0.4916 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5709, allocations: 1.969 kB / 0.4916 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.571, allocations: 11.11 kB / 0.4916 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.5716, allocations: 367.2 kB / 0.492 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.5719, allocations: 114 kB / 0.4921 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.187e-05/0.572, allocations: 34.66 kB / 0.4921 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.572, allocations: 3.938 kB / 0.4921 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.572, allocations: 38.56 kB / 0.4921 GB, free: 2.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.572, allocations: 0 / 0.4921 GB, free: 2.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001899/0.5739, allocations: 1.088 MB / 0.4932 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.574, allocations: 128.5 kB / 0.4933 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5742, allocations: 157 kB / 0.4935 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.5742, allocations: 25.7 kB / 0.4935 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.5743, allocations: 110 kB / 0.4936 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.5743, allocations: 54.14 kB / 0.4937 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.5743, allocations: 0 / 0.4937 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5745, allocations: 334.7 kB / 0.494 GB, free: 180 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.5746, allocations: 84.22 kB / 0.4941 GB, free: 124 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.5748, allocations: 119.3 kB / 0.4942 GB, free: 28 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.575, allocations: 98.17 kB / 0.4943 GB, free: 15.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.575, allocations: 0 / 0.4943 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005166/0.5756, allocations: 280.5 kB / 0.4945 GB, free: 15.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5756, allocations: 8 kB / 0.4945 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.5756, allocations: 7.938 kB / 0.4946 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001549/0.5758, allocations: 40.02 kB / 0.4946 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.576, allocations: 31.97 kB / 0.4946 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.576, allocations: 0 / 0.4946 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.5761, allocations: 4 kB / 0.4946 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5761, allocations: 5.562 kB / 0.4946 GB, free: 15.66 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.5762, allocations: 118.8 kB / 0.4947 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.5762, allocations: 19.77 kB / 0.4948 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.5763, allocations: 20.16 kB / 0.4948 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.5763, allocations: 4 kB / 0.4948 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5763, allocations: 0 / 0.4948 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5763, allocations: 0 / 0.4948 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.5769, allocations: 477.6 kB / 0.4952 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5769, allocations: 3.984 kB / 0.4952 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.5771, allocations: 39.55 kB / 0.4953 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5771, allocations: 4 kB / 0.4953 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5771, allocations: 0 / 0.4953 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5771, allocations: 3.938 kB / 0.4953 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5772, allocations: 7.984 kB / 0.4953 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.5776, allocations: 362.7 kB / 0.4956 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.5776, allocations: 88.92 kB / 0.4957 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.5777, allocations: 11.25 kB / 0.4957 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.5778, allocations: 12.03 kB / 0.4957 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5778, allocations: 7.984 kB / 0.4958 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5778, allocations: 4 kB / 0.4958 GB, free: 14.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.5779, allocations: 120.2 kB / 0.4959 GB, free: 14.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5779, allocations: 1.781 kB / 0.4959 GB, free: 14.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001475/0.5794, allocations: 0.5195 MB / 0.4964 GB, free: 13.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001525/0.5809, allocations: 0.5673 MB / 0.4969 GB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.5814, allocations: 332.7 kB / 0.4973 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5814, allocations: 7.5 kB / 0.4973 GB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5816, allocations: 70.09 kB / 0.4973 GB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5818, allocations: 29.92 kB / 0.4974 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.5826, allocations: 311.4 kB / 0.4977 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.5829, allocations: 0.731 MB / 0.4984 GB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.778e-05/0.583, allocations: 32.75 kB / 0.4984 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.583, allocations: 15.44 kB / 0.4984 GB, free: 11.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.583, allocations: 0 / 0.4984 GB, free: 11.93 MB / 378.7 MB Notification: Performance of Templates: time 0.01512/0.5982, allocations: 8.084 MB / 0.5063 GB, free: 3.934 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches