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.0009884/0.0009883, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.159/1.159, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008474/0.0008474, allocations: 101.9 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002057/0.0002057, allocations: 7.984 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1733, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09314/0.2664, allocations: 90.99 MB / 0.4887 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.2667, allocations: 71.97 kB / 0.4887 GB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1965/0.4632, allocations: 17.02 MB / 0.5054 GB, free: 87.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4632, allocations: 0.6562 kB / 0.5054 GB, free: 87.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.4633, allocations: 9.672 kB / 0.5054 GB, free: 87.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001178/0.4644, allocations: 0.5592 MB / 0.5059 GB, free: 87.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4645, allocations: 12.28 kB / 0.5059 GB, free: 87.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.4646, allocations: 15.44 kB / 0.5059 GB, free: 87.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.4649, allocations: 236.7 kB / 0.5062 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4649, allocations: 15.69 kB / 0.5062 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.465, allocations: 10 kB / 0.5062 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.4652, allocations: 136.3 kB / 0.5063 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4653, allocations: 3.906 kB / 0.5063 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4653, allocations: 2.906 kB / 0.5063 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4653, allocations: 2.25 kB / 0.5063 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4654, allocations: 62.22 kB / 0.5064 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.466, allocations: 390.9 kB / 0.5068 GB, free: 86.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.4664, allocations: 130.6 kB / 0.5069 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.4664, allocations: 8.109 kB / 0.5069 GB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4664, allocations: 32.78 kB / 0.5069 GB, free: 86.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4664, allocations: 0 / 0.5069 GB, free: 86.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001968/0.4684, allocations: 1.232 MB / 0.5081 GB, free: 85.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4685, allocations: 131.4 kB / 0.5082 GB, free: 85.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4686, allocations: 155.5 kB / 0.5084 GB, free: 85.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4686, allocations: 31.14 kB / 0.5084 GB, free: 85.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.4687, allocations: 109.8 kB / 0.5085 GB, free: 85.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.4687, allocations: 56.11 kB / 0.5086 GB, free: 85.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/0.4687, allocations: 4.281 kB / 0.5086 GB, free: 85.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.4688, allocations: 329.8 kB / 0.5089 GB, free: 85.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.469, allocations: 94.31 kB / 0.509 GB, free: 85.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4691, allocations: 133.2 kB / 0.5091 GB, free: 85.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4693, allocations: 120.9 kB / 0.5092 GB, free: 85.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4693, allocations: 3.688 kB / 0.5092 GB, free: 85.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000463/0.4698, allocations: 298.3 kB / 0.5095 GB, free: 84.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4698, allocations: 5.5 kB / 0.5095 GB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.4698, allocations: 6.547 kB / 0.5095 GB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001638/0.47, allocations: 44.91 kB / 0.5096 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4702, allocations: 33.72 kB / 0.5096 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000867/0.471, allocations: 1.411 MB / 0.511 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.4712, allocations: 11.84 kB / 0.511 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.4712, allocations: 5.156 kB / 0.511 GB, free: 83.62 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 (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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.4713, allocations: 139.4 kB / 0.5111 GB, free: 83.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.4713, allocations: 15.19 kB / 0.5112 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.856e-05/0.4714, allocations: 23.95 kB / 0.5112 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4714, allocations: 4.844 kB / 0.5112 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4714, allocations: 1.688 kB / 0.5112 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4714, allocations: 3.938 kB / 0.5112 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.4716, allocations: 251.6 kB / 0.5114 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4716, allocations: 3.797 kB / 0.5114 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.4719, allocations: 56.12 kB / 0.5115 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4719, allocations: 5.031 kB / 0.5115 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4719, allocations: 1.5 kB / 0.5115 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4719, allocations: 0 / 0.5115 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4719, allocations: 3.719 kB / 0.5115 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.4724, allocations: 422 kB / 0.5119 GB, free: 82.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.4724, allocations: 89.48 kB / 0.512 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4725, allocations: 5.344 kB / 0.512 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4726, allocations: 11.45 kB / 0.512 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.4726, allocations: 13.16 kB / 0.512 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.4726, allocations: 6.312 kB / 0.512 GB, free: 82.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.341e-05/0.4727, allocations: 128.3 kB / 0.5121 GB, free: 82.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4727, allocations: 0.5312 kB / 0.5121 GB, free: 82.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001681/0.4744, allocations: 0.5285 MB / 0.5127 GB, free: 82.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (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.00138/0.4758, allocations: 0.5574 MB / 0.5132 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005161/0.4763, allocations: 388.5 kB / 0.5136 GB, free: 82.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4763, allocations: 0 / 0.5136 GB, free: 82.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.4765, allocations: 99.78 kB / 0.5137 GB, free: 82.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.4767, allocations: 35.58 kB / 0.5137 GB, free: 82.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005184/0.4773, allocations: 447.4 kB / 0.5141 GB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.4774, allocations: 0.7361 MB / 0.5148 GB, free: 81.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.775e-05/0.4775, allocations: 31.48 kB / 0.5149 GB, free: 81.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.4775, allocations: 15.16 kB / 0.5149 GB, free: 81.4 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4775, allocations: 3.938 kB / 0.5149 GB, free: 81.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01036/0.4879, allocations: 7.693 MB / 0.5224 GB, free: 81.15 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