Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 116.1 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002408/0.002409, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2785, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002857/0.2814, allocations: 1.616 MB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.2866, allocations: 3.202 MB / 414.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2867, allocations: 8 kB / 414.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004311/0.2872, allocations: 51.7 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.2873, allocations: 15.86 kB / 414.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003598/0.2909, allocations: 1.434 MB / 415.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2912, allocations: 147.6 kB / 415.7 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2913, allocations: 25.11 kB / 415.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.2914, allocations: 55.83 kB / 415.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.2915, allocations: 51.7 kB / 415.8 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2915, allocations: 11.94 kB / 415.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.2931, allocations: 1.382 MB / 417.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.998e-05/0.2932, allocations: 35.91 kB / 417.3 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.2932, allocations: 47.67 kB / 417.3 MB, free: 9.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.2944, allocations: 1.216 MB / 418.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2944, allocations: 0 / 418.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2944, allocations: 0 / 418.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2944, allocations: 3.938 kB / 418.5 MB, free: 8.297 MB / 334.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.0009818/0.2954, allocations: 0.5575 MB / 419.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2955, allocations: 8.031 kB / 419.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.2955, allocations: 20.69 kB / 419.1 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.2958, allocations: 212.1 kB / 419.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2958, allocations: 16.31 kB / 419.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.2959, allocations: 16.28 kB / 419.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.2961, allocations: 121 kB / 419.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.2961, allocations: 0 / 419.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.2962, allocations: 4 kB / 419.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2962, allocations: 4 kB / 419.5 MB, free: 7.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.2963, allocations: 55.95 kB / 419.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.2969, allocations: 376.5 kB / 419.9 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.2973, allocations: 130.5 kB / 420 MB, free: 6.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.2974, allocations: 44.83 kB / 420.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2974, allocations: 8 kB / 420.1 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2975, allocations: 34.56 kB / 420.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2975, allocations: 0 / 420.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002291/0.2998, allocations: 1.222 MB / 421.3 MB, free: 5.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.2999, allocations: 132.5 kB / 421.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3, allocations: 174.7 kB / 421.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3001, allocations: 33.64 kB / 421.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.3002, allocations: 112.5 kB / 421.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.3002, allocations: 47.2 kB / 421.8 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/0.3003, allocations: 53.64 kB / 421.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3004, allocations: 326.8 kB / 422.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3006, allocations: 95.95 kB / 422.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.3008, allocations: 143.2 kB / 422.4 MB, free: 4.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.3011, allocations: 196.8 kB / 422.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3011, allocations: 0 / 422.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005427/0.3017, allocations: 304.3 kB / 422.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3017, allocations: 4 kB / 422.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.3017, allocations: 7.984 kB / 422.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3019, allocations: 44.77 kB / 423 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3021, allocations: 35.98 kB / 423 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.3034, allocations: 1.515 MB / 424.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.442e-05/0.3035, allocations: 15.95 kB / 424.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3035, allocations: 4 kB / 424.5 MB, free: 1.738 MB / 334.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.3036, allocations: 133.8 kB / 424.7 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.3037, allocations: 15.81 kB / 424.7 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.3037, allocations: 29.62 kB / 424.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3037, allocations: 0 / 424.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3038, allocations: 0 / 424.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.3038, allocations: 3.938 kB / 424.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.304, allocations: 253.4 kB / 425 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.304, allocations: 0 / 425 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3043, allocations: 47.97 kB / 425 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3043, allocations: 4 kB / 425 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3043, allocations: 7.984 kB / 425 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3043, allocations: 0 / 425 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3043, allocations: 0 / 425 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005214/0.3049, allocations: 422 kB / 425.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3049, allocations: 88.92 kB / 425.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.305, allocations: 4 kB / 425.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3051, allocations: 4 kB / 425.5 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3051, allocations: 15.97 kB / 425.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.3052, allocations: 4 kB / 425.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.3053, allocations: 132.2 kB / 425.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3053, allocations: 0 / 425.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001544/0.3068, allocations: 0.5118 MB / 426.2 MB, free: 15.99 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001063/0.3079, allocations: 0.5524 MB / 426.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006245/0.3085, allocations: 393.9 kB / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3085, allocations: 0 / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.3087, allocations: 91.88 kB / 427.2 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.309, allocations: 32.02 kB / 427.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006183/0.3096, allocations: 390 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.31, allocations: 0.7396 MB / 428.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.3101, allocations: 29.06 kB / 428.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.3101, allocations: 15.44 kB / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3101, allocations: 0 / 428.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Templates: time 0.0142/0.3243, allocations: 7.908 MB / 436.3 MB, free: 5.785 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches