Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002047/0.002047, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 88.33 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.484e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.339, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.4867, allocations: 88.69 MB / 451 MB, free: 13.61 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4871, allocations: 67.97 kB / 451.1 MB, free: 13.54 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08547/0.5726, allocations: 16.81 MB / 467.9 MB, free: 12.75 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5726, allocations: 0 / 467.9 MB, free: 12.75 MB / 363.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.5726, allocations: 4 kB / 467.9 MB, free: 12.75 MB / 363.1 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.001626/0.5743, allocations: 0.5477 MB / 468.4 MB, free: 12.16 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5744, allocations: 8.031 kB / 468.4 MB, free: 12.15 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.5744, allocations: 15.81 kB / 468.5 MB, free: 12.13 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.5749, allocations: 238.7 kB / 468.7 MB, free: 11.86 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.575, allocations: 7.953 kB / 468.7 MB, free: 11.85 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.575, allocations: 5.031 kB / 468.7 MB, free: 11.85 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001611/0.5752, allocations: 39.98 kB / 468.7 MB, free: 11.81 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.5755, allocations: 118.9 kB / 468.9 MB, free: 11.67 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.5755, allocations: 4 kB / 468.9 MB, free: 11.67 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.5755, allocations: 0 / 468.9 MB, free: 11.67 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5755, allocations: 0 / 468.9 MB, free: 11.67 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.5764, allocations: 365 kB / 469.2 MB, free: 11.27 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.5769, allocations: 114.5 kB / 469.3 MB, free: 11.15 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.577, allocations: 42.5 kB / 469.4 MB, free: 11.11 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.577, allocations: 0 / 469.4 MB, free: 11.11 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5771, allocations: 34.56 kB / 469.4 MB, free: 11.07 MB / 363.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.5771, allocations: 0 / 469.4 MB, free: 11.07 MB / 363.1 MB Notification: Performance of matching and sorting (n=15): time 0.002928/0.58, allocations: 1.087 MB / 470.5 MB, free: 9.852 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/0.5802, allocations: 136.5 kB / 470.6 MB, free: 9.688 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.5804, allocations: 155.7 kB / 470.8 MB, free: 9.531 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.5805, allocations: 25.7 kB / 470.8 MB, free: 9.5 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5806, allocations: 174.8 kB / 471 MB, free: 9.324 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.5807, allocations: 51.27 kB / 471 MB, free: 9.273 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.5807, allocations: 0 / 471 MB, free: 9.273 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5808, allocations: 326.8 kB / 471.3 MB, free: 8.945 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.5811, allocations: 83.97 kB / 471.4 MB, free: 8.863 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.5814, allocations: 119.4 kB / 471.5 MB, free: 8.734 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.5817, allocations: 96.55 kB / 471.6 MB, free: 8.641 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.5817, allocations: 0 / 471.6 MB, free: 8.641 MB / 363.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007849/0.5825, allocations: 280.3 kB / 471.9 MB, free: 8.359 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5825, allocations: 4 kB / 471.9 MB, free: 8.355 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.5826, allocations: 4 kB / 471.9 MB, free: 8.352 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.5828, allocations: 47.34 kB / 472 MB, free: 8.305 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.5831, allocations: 35.92 kB / 472 MB, free: 8.27 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5832, allocations: 0 / 472 MB, free: 8.27 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.5833, allocations: 5.562 kB / 472 MB, free: 8.266 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.5834, allocations: 8.766 kB / 472 MB, free: 8.258 MB / 363.1 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 0.0001295/0.5835, allocations: 108.9 kB / 472.1 MB, free: 8.145 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.5836, allocations: 19.77 kB / 472.1 MB, free: 8.125 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.5837, allocations: 21.97 kB / 472.2 MB, free: 8.098 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5837, allocations: 4 kB / 472.2 MB, free: 8.094 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5837, allocations: 0 / 472.2 MB, free: 8.094 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5837, allocations: 3.984 kB / 472.2 MB, free: 8.09 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.5846, allocations: 478.9 kB / 472.6 MB, free: 7.578 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5847, allocations: 4 kB / 472.6 MB, free: 7.574 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.5851, allocations: 27.98 kB / 472.7 MB, free: 7.547 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5851, allocations: 0 / 472.7 MB, free: 7.547 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.5851, allocations: 11.98 kB / 472.7 MB, free: 7.535 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5851, allocations: 3.75 kB / 472.7 MB, free: 7.535 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5852, allocations: 3.938 kB / 472.7 MB, free: 7.531 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.5859, allocations: 367.1 kB / 473 MB, free: 7.156 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.5859, allocations: 88.92 kB / 473.1 MB, free: 7.051 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.586, allocations: 0 / 473.1 MB, free: 7.051 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.5862, allocations: 8.031 kB / 473.1 MB, free: 7.043 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.5863, allocations: 15.98 kB / 473.2 MB, free: 7.027 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.5863, allocations: 4 kB / 473.2 MB, free: 7.023 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.5865, allocations: 115.3 kB / 473.3 MB, free: 6.91 MB / 363.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5865, allocations: 0 / 473.3 MB, free: 6.91 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.002285/0.5888, allocations: 0.5272 MB / 473.8 MB, free: 6.383 MB / 363.1 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.002268/0.5911, allocations: 0.5706 MB / 474.4 MB, free: 5.816 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.592, allocations: 333.3 kB / 474.7 MB, free: 5.457 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.592, allocations: 0 / 474.7 MB, free: 5.457 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5922, allocations: 79.84 kB / 474.8 MB, free: 5.379 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5926, allocations: 25.73 kB / 474.8 MB, free: 5.355 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5937, allocations: 346.4 kB / 475.1 MB, free: 4.992 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.5941, allocations: 0.7399 MB / 475.9 MB, free: 4.223 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.967e-05/0.5942, allocations: 19.44 kB / 475.9 MB, free: 4.207 MB / 363.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5943, allocations: 0 / 475.9 MB, free: 4.207 MB / 363.1 MB Notification: Performance of Templates: time 0.01993/0.6142, allocations: 7.06 MB / 483 MB, free: 13.15 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches