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.001402/0.001402, allocations: 186.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001072/0.001072, allocations: 94.05 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 12 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4496, allocations: 89.43 MB / 464 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.45, allocations: 71.97 kB / 464 MB, free: 7.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07701/0.527, allocations: 16.89 MB / 480.9 MB, free: 6.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.527, allocations: 4 kB / 480.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5271, allocations: 3.938 kB / 480.9 MB, free: 6.324 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.001511/0.5286, allocations: 0.565 MB / 481.5 MB, free: 5.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5286, allocations: 12.03 kB / 481.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.5287, allocations: 11.81 kB / 481.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.5291, allocations: 230.8 kB / 481.7 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5292, allocations: 15.95 kB / 481.8 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.5292, allocations: 12 kB / 481.8 MB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.5296, allocations: 129.9 kB / 481.9 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5296, allocations: 3.938 kB / 481.9 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.5296, allocations: 8 kB / 481.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5297, allocations: 0 / 481.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.5299, allocations: 67.89 kB / 482 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008086/0.5307, allocations: 388.5 kB / 482.3 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.5313, allocations: 142.5 kB / 482.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.5313, allocations: 0 / 482.5 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.5313, allocations: 30.78 kB / 482.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.5313, allocations: 0 / 482.5 MB, free: 4.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003381/0.5347, allocations: 1.222 MB / 483.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.5348, allocations: 132.5 kB / 483.9 MB, free: 3.035 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.5351, allocations: 154 kB / 484 MB, free: 2.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.5351, allocations: 29.7 kB / 484 MB, free: 2.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.5352, allocations: 182.8 kB / 484.2 MB, free: 2.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.5353, allocations: 51.27 kB / 484.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.5353, allocations: 4 kB / 484.3 MB, free: 2.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5355, allocations: 326.8 kB / 484.6 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.5357, allocations: 89.17 kB / 484.7 MB, free: 2.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.5361, allocations: 136 kB / 484.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.5364, allocations: 117.9 kB / 484.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5364, allocations: 4 kB / 484.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000863/0.5373, allocations: 298.2 kB / 485.2 MB, free: 1.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.5373, allocations: 8 kB / 485.2 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5374, allocations: 0 / 485.2 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.5376, allocations: 48.75 kB / 485.3 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.5379, allocations: 35.98 kB / 485.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.5397, allocations: 1.409 MB / 486.7 MB, free: 16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.5399, allocations: 16 kB / 486.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.54, allocations: 11.98 kB / 486.8 MB, free: 15.97 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.0002047/0.5402, allocations: 134.3 kB / 486.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.5403, allocations: 19.66 kB / 486.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.5403, allocations: 25.53 kB / 486.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5404, allocations: 4.188 kB / 486.9 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5404, allocations: 7.922 kB / 486.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5404, allocations: 0 / 486.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.5408, allocations: 245.5 kB / 487.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5408, allocations: 4 kB / 487.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.5413, allocations: 51.95 kB / 487.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5413, allocations: 0 / 487.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.5413, allocations: 4 kB / 487.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5414, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5414, allocations: 0 / 487.2 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.5422, allocations: 422.7 kB / 487.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.5423, allocations: 88.92 kB / 487.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.5424, allocations: 8 kB / 487.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.5426, allocations: 12.03 kB / 487.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.5426, allocations: 15.98 kB / 487.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.5427, allocations: 4 kB / 487.8 MB, free: 14.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.5428, allocations: 119.2 kB / 487.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5428, allocations: 0 / 487.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002083/0.5449, allocations: 0.535 MB / 488.4 MB, free: 14.2 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.001804/0.5467, allocations: 0.5555 MB / 489 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.5478, allocations: 401.3 kB / 489.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5478, allocations: 0 / 489.4 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.5481, allocations: 83.89 kB / 489.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.5484, allocations: 29.11 kB / 489.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009402/0.5494, allocations: 486.2 kB / 490 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.5498, allocations: 0.7363 MB / 490.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.018e-05/0.5499, allocations: 23.38 kB / 490.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5499, allocations: 0 / 490.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01776/0.5676, allocations: 7.066 MB / 497.8 MB, free: 4.746 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