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.003011/0.003017, allocations: 185.3 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 3.394/3.394, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001858/0.001858, allocations: 99.3 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006477/0.000648, allocations: 8 kB / 326.9 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5211, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003249/0.5244, allocations: 1.292 MB / 375.8 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0109/0.5354, allocations: 3.047 MB / 378.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.5357, allocations: 1 kB / 378.9 MB, free: 42.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.5363, allocations: 64.09 kB / 378.9 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.5365, allocations: 10.05 kB / 378.9 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008396/0.5449, allocations: 0.971 MB / 379.9 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.5455, allocations: 95.88 kB / 380 MB, free: 41.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.5457, allocations: 23.62 kB / 380 MB, free: 41.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.5459, allocations: 51.75 kB / 380.1 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.5461, allocations: 52.52 kB / 380.1 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.5461, allocations: 3.375 kB / 380.1 MB, free: 41.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005514/0.5517, allocations: 1.049 MB / 381.2 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.5519, allocations: 27.62 kB / 381.2 MB, free: 40.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.448e-05/0.552, allocations: 47.48 kB / 381.2 MB, free: 40.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.5556, allocations: 1.09 MB / 382.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5557, allocations: 0 / 382.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5557, allocations: 1.031 kB / 382.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.5557, allocations: 0 / 382.3 MB, free: 40.34 MB / 298.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.002623/0.5584, allocations: 0.5376 MB / 382.9 MB, free: 39.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.5585, allocations: 8.219 kB / 382.9 MB, free: 39.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.5586, allocations: 14.53 kB / 382.9 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.559, allocations: 212.9 kB / 383.1 MB, free: 39.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.5591, allocations: 8.047 kB / 383.1 MB, free: 39.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.5591, allocations: 9.75 kB / 383.1 MB, free: 39.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.5597, allocations: 126.1 kB / 383.2 MB, free: 39.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.5598, allocations: 9.25 kB / 383.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.5598, allocations: 0 / 383.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.5598, allocations: 1.812 kB / 383.3 MB, free: 39.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003839/0.5602, allocations: 66.62 kB / 383.3 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.5617, allocations: 390.3 kB / 383.7 MB, free: 39.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008781/0.5627, allocations: 127.3 kB / 383.8 MB, free: 39.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.5628, allocations: 1.25 kB / 383.8 MB, free: 39.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.5628, allocations: 35.62 kB / 383.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 4.078e-06/0.5629, allocations: 0 / 383.9 MB, free: 39.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.005448/0.5683, allocations: 1.226 MB / 385.1 MB, free: 37.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.5685, allocations: 132.5 kB / 385.2 MB, free: 37.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.5688, allocations: 174.9 kB / 385.4 MB, free: 37.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.5689, allocations: 29.7 kB / 385.4 MB, free: 37.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.569, allocations: 175 kB / 385.6 MB, free: 37.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.5691, allocations: 63.03 kB / 385.6 MB, free: 37.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.5692, allocations: 0 / 385.6 MB, free: 37.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.5693, allocations: 322.8 kB / 386 MB, free: 37.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.5698, allocations: 99.95 kB / 386.1 MB, free: 36.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.5702, allocations: 140.2 kB / 386.2 MB, free: 36.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.5707, allocations: 109.6 kB / 386.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.5708, allocations: 0 / 386.3 MB, free: 36.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001292/0.5721, allocations: 310.2 kB / 386.6 MB, free: 36.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.5722, allocations: 4 kB / 386.6 MB, free: 36.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.311e-05/0.5722, allocations: 7.984 kB / 386.6 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/0.5727, allocations: 44.77 kB / 386.7 MB, free: 36.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.5731, allocations: 27.98 kB / 386.7 MB, free: 36.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/0.5753, allocations: 1.421 MB / 388.1 MB, free: 34.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.5757, allocations: 11.98 kB / 388.1 MB, free: 34.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.5757, allocations: 4 kB / 388.1 MB, free: 34.73 MB / 298.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.0002477/0.576, allocations: 144.4 kB / 388.3 MB, free: 34.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/0.5761, allocations: 11.81 kB / 388.3 MB, free: 34.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.5763, allocations: 25.52 kB / 388.3 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.5763, allocations: 4 kB / 388.3 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.5763, allocations: 0 / 388.3 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5763, allocations: 3.938 kB / 388.3 MB, free: 34.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.5769, allocations: 245.5 kB / 388.6 MB, free: 34.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.5769, allocations: 3.984 kB / 388.6 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008681/0.5778, allocations: 55.97 kB / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.5779, allocations: 4.047 kB / 388.6 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.5779, allocations: 3.984 kB / 388.6 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.578, allocations: 0 / 388.6 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.578, allocations: 0 / 388.6 MB, free: 34.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5793, allocations: 428 kB / 389 MB, free: 33.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.5794, allocations: 88.92 kB / 389.1 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.5795, allocations: 0 / 389.1 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.5798, allocations: 12.03 kB / 389.1 MB, free: 33.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.5799, allocations: 11.98 kB / 389.1 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.58, allocations: 0 / 389.1 MB, free: 33.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001947/0.5802, allocations: 127.2 kB / 389.3 MB, free: 33.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.5802, allocations: 0 / 389.3 MB, free: 33.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004001/0.5842, allocations: 0.5116 MB / 389.8 MB, free: 32.98 MB / 298.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.003982/0.5883, allocations: 0.5545 MB / 390.3 MB, free: 32.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.59, allocations: 389.9 kB / 390.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5901, allocations: 0 / 390.7 MB, free: 32.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.5905, allocations: 95.83 kB / 390.8 MB, free: 31.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.5911, allocations: 29 kB / 390.8 MB, free: 31.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.5925, allocations: 480 kB / 391.3 MB, free: 31.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.5929, allocations: 0.7324 MB / 392 MB, free: 30.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.593, allocations: 15.44 kB / 392.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5931, allocations: 0 / 392.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of Templates: time 0.02734/0.6204, allocations: 7.075 MB / 399.1 MB, free: 23.54 MB / 298.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