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.002831/0.002831, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.198/3.198, allocations: 205.4 MB / 223.6 MB, free: 8.953 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.001605/0.001605, allocations: 96.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005356, allocations: 12 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4962, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/0.7401, allocations: 89.55 MB / 465.3 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005642/0.7407, allocations: 71.97 kB / 465.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1147/0.8555, allocations: 16.89 MB / 482.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-06/0.8556, allocations: 0 / 482.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.8557, allocations: 11.94 kB / 482.2 MB, free: 6.066 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.003214/0.8589, allocations: 0.5612 MB / 482.8 MB, free: 5.453 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.53e-05/0.859, allocations: 12.03 kB / 482.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.8592, allocations: 12.75 kB / 482.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.8601, allocations: 236.1 kB / 483 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.8601, allocations: 4.375 kB / 483 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.253e-05/0.8602, allocations: 16.38 kB / 483.1 MB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.8608, allocations: 134.4 kB / 483.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.8609, allocations: 8.125 kB / 483.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.8609, allocations: 7.938 kB / 483.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.861, allocations: 0 / 483.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.8613, allocations: 67.94 kB / 483.3 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005699/0.867, allocations: 388.4 kB / 483.7 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.8678, allocations: 134.5 kB / 483.8 MB, free: 4.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.8681, allocations: 49.05 kB / 483.8 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.8681, allocations: 4 kB / 483.8 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.8682, allocations: 30.56 kB / 483.9 MB, free: 4.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 6.222e-06/0.8682, allocations: 0 / 483.9 MB, free: 4.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.004741/0.8729, allocations: 1.228 MB / 485.1 MB, free: 2.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.8731, allocations: 132.5 kB / 485.2 MB, free: 2.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/0.8736, allocations: 183.1 kB / 485.4 MB, free: 2.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.8736, allocations: 33.7 kB / 485.4 MB, free: 2.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004287/0.878, allocations: 108.4 kB / 485.5 MB, free: 2.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.8782, allocations: 51.27 kB / 485.6 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.8783, allocations: 7.938 kB / 485.6 MB, free: 2.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003369/0.8787, allocations: 322.8 kB / 485.9 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/0.8792, allocations: 99.94 kB / 486 MB, free: 1.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.8797, allocations: 132 kB / 486.1 MB, free: 1.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.8805, allocations: 214.5 kB / 486.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8805, allocations: 0 / 486.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001244/0.8818, allocations: 302.2 kB / 486.6 MB, free: 1.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.8818, allocations: 6.188 kB / 486.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-05/0.8819, allocations: 11.94 kB / 486.7 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.8824, allocations: 44.81 kB / 486.7 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.8827, allocations: 31.92 kB / 486.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.8851, allocations: 1.405 MB / 488.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.8854, allocations: 8.031 kB / 488.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.8854, allocations: 4 kB / 488.2 MB, free: 15.61 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 0.0003541/0.8858, allocations: 137.8 kB / 488.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.8859, allocations: 19.91 kB / 488.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.8861, allocations: 25.52 kB / 488.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.8861, allocations: 0 / 488.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8861, allocations: 0 / 488.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8862, allocations: 0 / 488.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.8869, allocations: 249.5 kB / 488.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.8869, allocations: 0 / 488.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.8875, allocations: 59.95 kB / 488.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.8876, allocations: 3.984 kB / 488.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.8876, allocations: 0 / 488.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.8876, allocations: 7.984 kB / 488.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8877, allocations: 4 kB / 488.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.889, allocations: 411.1 kB / 489.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.8891, allocations: 92.95 kB / 489.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.8892, allocations: 4 kB / 489.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.8894, allocations: 16 kB / 489.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.769e-05/0.8896, allocations: 15.86 kB / 489.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.8896, allocations: 4 kB / 489.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000232/0.8898, allocations: 127.2 kB / 489.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8899, allocations: 0 / 489.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003619/0.8935, allocations: 0.5272 MB / 489.8 MB, free: 13.83 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.004641/0.8982, allocations: 0.5605 MB / 490.4 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.8997, allocations: 396.1 kB / 490.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.8997, allocations: 0 / 490.8 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.9001, allocations: 93.28 kB / 490.9 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.9007, allocations: 28.98 kB / 490.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.9024, allocations: 486.3 kB / 491.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.903, allocations: 0.7322 MB / 492.1 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9031, allocations: 19.44 kB / 492.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.9032, allocations: 0 / 492.1 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Templates: time 0.02463/0.9278, allocations: 6.167 MB / 498.3 MB, free: 5.281 MB / 378.7 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