Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001548/0.001549, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.0008646, allocations: 74.73 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.962e-05, allocations: 4 kB / 315.5 MB, free: 22.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08531, allocations: 47.58 MB / 363.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3056/0.3909, allocations: 88.92 MB / 452 MB, free: 6.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.3912, allocations: 66.28 kB / 452 MB, free: 6.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04455/0.4358, allocations: 16.82 MB / 468.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4358, allocations: 0 / 468.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.4358, allocations: 4 kB / 468.9 MB, free: 7.465 MB / 346.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.0008446/0.4367, allocations: 0.5398 MB / 469.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4367, allocations: 8.781 kB / 469.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.4368, allocations: 19.81 kB / 469.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.4371, allocations: 237.2 kB / 469.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4371, allocations: 7.953 kB / 469.7 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.4372, allocations: 8 kB / 469.7 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/0.4373, allocations: 49.47 kB / 469.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4375, allocations: 113 kB / 469.8 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4375, allocations: 4 kB / 469.8 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4375, allocations: 3.938 kB / 469.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4375, allocations: 0 / 469.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.4381, allocations: 360.2 kB / 470.2 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4384, allocations: 129.1 kB / 470.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.4385, allocations: 27.89 kB / 470.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.4385, allocations: 0 / 470.4 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.4385, allocations: 37.11 kB / 470.4 MB, free: 5.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.4385, allocations: 4 kB / 470.4 MB, free: 5.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001769/0.4403, allocations: 1.071 MB / 471.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.4404, allocations: 140.4 kB / 471.6 MB, free: 4.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4405, allocations: 151.6 kB / 471.8 MB, free: 4.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4406, allocations: 25.7 kB / 471.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.4406, allocations: 114.5 kB / 471.9 MB, free: 4.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.4407, allocations: 50.39 kB / 471.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4407, allocations: 0 / 471.9 MB, free: 4.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4408, allocations: 330 kB / 472.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4409, allocations: 83.47 kB / 472.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.4411, allocations: 119.3 kB / 472.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4413, allocations: 101.6 kB / 472.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4413, allocations: 0 / 472.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004454/0.4417, allocations: 281.4 kB / 472.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4418, allocations: 4 kB / 472.8 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.4418, allocations: 7.984 kB / 472.8 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.4419, allocations: 38.08 kB / 472.9 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4421, allocations: 39.91 kB / 472.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4421, allocations: 4 kB / 472.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.84e-05/0.4422, allocations: 4 kB / 472.9 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4423, allocations: 4 kB / 472.9 MB, free: 3.488 MB / 346.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.886e-05/0.4424, allocations: 116.7 kB / 473 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4424, allocations: 11.86 kB / 473.1 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/0.4425, allocations: 23.52 kB / 473.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4425, allocations: 0 / 473.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4425, allocations: 8 kB / 473.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4425, allocations: 0 / 473.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.4431, allocations: 480.2 kB / 473.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4431, allocations: 0 / 473.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4433, allocations: 35.97 kB / 473.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4433, allocations: 0 / 473.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.4433, allocations: 7.5 kB / 473.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4434, allocations: 0 / 473.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4434, allocations: 4 kB / 473.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.4438, allocations: 373.5 kB / 474 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.4439, allocations: 92.95 kB / 474.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4439, allocations: 0 / 474.1 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.444, allocations: 4 kB / 474.1 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4441, allocations: 7.984 kB / 474.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4441, allocations: 15.55 kB / 474.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.4442, allocations: 118.3 kB / 474.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4442, allocations: 0 / 474.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001504/0.4457, allocations: 0.5256 MB / 474.7 MB, free: 1.777 MB / 346.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.001115/0.4468, allocations: 0.5617 MB / 475.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.4473, allocations: 326.9 kB / 475.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4473, allocations: 3.938 kB / 475.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.4474, allocations: 84.53 kB / 475.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.4477, allocations: 24.16 kB / 475.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006384/0.4483, allocations: 309.3 kB / 476 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.4487, allocations: 0.7314 MB / 476.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.955e-05/0.4488, allocations: 33.19 kB / 476.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.4488, allocations: 18.81 kB / 476.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4488, allocations: 0 / 476.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Templates: time 0.01354/0.4624, allocations: 8.095 MB / 484.9 MB, free: 7.699 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/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_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches