Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 106.5 kB / 17.06 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 43.92 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2644, allocations: 49.43 MB / 400.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00287/0.2673, allocations: 1.615 MB / 401.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.2724, allocations: 3.164 MB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2726, allocations: 4 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.2729, allocations: 55.69 kB / 405.1 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.381e-05/0.2731, allocations: 11.88 kB / 405.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.2769, allocations: 1.425 MB / 406.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.2772, allocations: 151.6 kB / 406.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.2773, allocations: 21.06 kB / 406.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.2774, allocations: 59.77 kB / 406.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2775, allocations: 51.77 kB / 406.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.2775, allocations: 8 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.2793, allocations: 1.382 MB / 408.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.2794, allocations: 31.91 kB / 408.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.2794, allocations: 55.66 kB / 408.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2807, allocations: 1.201 MB / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2807, allocations: 0 / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2808, allocations: 0 / 409.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.2808, allocations: 0 / 409.5 MB, free: 15.55 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.0009444/0.2817, allocations: 0.5804 MB / 410 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.642e-05/0.2818, allocations: 8.031 kB / 410 MB, free: 14.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.2818, allocations: 46.67 kB / 410.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2818, allocations: 16.84 kB / 410.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.2821, allocations: 211.9 kB / 410.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2821, allocations: 8 kB / 410.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.2821, allocations: 12 kB / 410.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2824, allocations: 125 kB / 410.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2824, allocations: 0 / 410.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2824, allocations: 0 / 410.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2824, allocations: 4 kB / 410.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2825, allocations: 55.95 kB / 410.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.2831, allocations: 396.5 kB / 410.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.2835, allocations: 114.6 kB / 411 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.2836, allocations: 48.95 kB / 411.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.2836, allocations: 4 kB / 411.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.2836, allocations: 34.56 kB / 411.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2836, allocations: 0 / 411.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002445/0.2861, allocations: 1.223 MB / 412.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/0.2862, allocations: 132.5 kB / 412.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2864, allocations: 170.4 kB / 412.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2864, allocations: 29.7 kB / 412.6 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.2865, allocations: 112.8 kB / 412.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.2866, allocations: 55.53 kB / 412.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.2866, allocations: 49.7 kB / 412.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2868, allocations: 330.8 kB / 413.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.287, allocations: 99.89 kB / 413.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.2872, allocations: 127.4 kB / 413.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.2876, allocations: 208.8 kB / 413.6 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2876, allocations: 0 / 413.6 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005703/0.2881, allocations: 314.2 kB / 413.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2882, allocations: 7.984 kB / 413.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2882, allocations: 4 kB / 413.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.2884, allocations: 40.83 kB / 414 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2885, allocations: 35.91 kB / 414 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.29, allocations: 1.508 MB / 415.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.2901, allocations: 15.95 kB / 415.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2901, allocations: 8.156 kB / 415.5 MB, free: 8.918 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.0001421/0.2903, allocations: 137.8 kB / 415.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2903, allocations: 15.91 kB / 415.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.2904, allocations: 25.47 kB / 415.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2904, allocations: 0 / 415.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2904, allocations: 0 / 415.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2904, allocations: 0 / 415.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.2907, allocations: 249.5 kB / 415.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2907, allocations: 0 / 415.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.291, allocations: 63.89 kB / 416 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.291, allocations: 0 / 416 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2911, allocations: 7.938 kB / 416 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2911, allocations: 0 / 416 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.2911, allocations: 4 kB / 416 MB, free: 8.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.2917, allocations: 410.6 kB / 416.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.2917, allocations: 89.06 kB / 416.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2918, allocations: 7.938 kB / 416.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2919, allocations: 4 kB / 416.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.2919, allocations: 8.031 kB / 416.5 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2919, allocations: 11.94 kB / 416.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.2921, allocations: 132.2 kB / 416.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2921, allocations: 0 / 416.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001519/0.2936, allocations: 0.5116 MB / 417.2 MB, free: 7.176 MB / 334.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.002014/0.2956, allocations: 1.395 MB / 418.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007491/0.2964, allocations: 393.8 kB / 419 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2964, allocations: 0 / 419 MB, free: 5.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.2966, allocations: 91.88 kB / 419 MB, free: 5.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2969, allocations: 41.28 kB / 419.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.3002, allocations: 2.449 MB / 421.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3007, allocations: 0.7397 MB / 422.3 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3008, allocations: 29.06 kB / 422.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.3009, allocations: 43.42 kB / 422.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3009, allocations: 0 / 422.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.3402, allocations: 9.893 MB / 432.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.93/10.27, allocations: 4.062 kB / 432.2 MB, free: 8.062 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3] Variables in the result:Bessel.A_ripple,Bessel.analogFilter,Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.normalized,Bessel.nx,Bessel.order,Bessel.u,Bessel.u_nominal,Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(der(Bessel.x[2])),der(der(Bessel.x[3])),der(der(der(Bessel.x[3]))),der(der1.u),der(der2.u),der(der3.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,f_cut,step.height,step.offset,step.startTime,step.y,time