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.001658/0.001658, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001712/0.001712, allocations: 200 kB / 18.01 MB, free: 5.047 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.415/1.415, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 55.91 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002729/0.2629, allocations: 1.611 MB / 401.8 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.2678, allocations: 3.159 MB / 405 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2679, allocations: 3.938 kB / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2682, allocations: 59.69 kB / 405.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.2683, allocations: 7.875 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003329/0.2717, allocations: 1.435 MB / 406.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2719, allocations: 143.7 kB / 406.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.272, allocations: 29.03 kB / 406.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.552e-05/0.2721, allocations: 51.84 kB / 406.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.2722, allocations: 59.7 kB / 406.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2722, allocations: 8 kB / 406.8 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2738, allocations: 1.378 MB / 408.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.2739, allocations: 35.91 kB / 408.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.274, allocations: 47.67 kB / 408.2 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2752, allocations: 1.201 MB / 409.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2752, allocations: 0 / 409.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2753, allocations: 3.938 kB / 409.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2753, allocations: 0 / 409.4 MB, free: 15.57 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.0009582/0.2762, allocations: 0.5688 MB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2763, allocations: 12.03 kB / 410 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.2763, allocations: 46.73 kB / 410.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.91e-05/0.2764, allocations: 12.84 kB / 410.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.2767, allocations: 227.7 kB / 410.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2767, allocations: 8 kB / 410.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.2767, allocations: 8 kB / 410.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.277, allocations: 125 kB / 410.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.277, allocations: 4 kB / 410.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.277, allocations: 4 kB / 410.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.277, allocations: 0 / 410.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2772, allocations: 59.89 kB / 410.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.2778, allocations: 380.6 kB / 410.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.2782, allocations: 134.5 kB / 411 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.85e-05/0.2783, allocations: 40.83 kB / 411.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2783, allocations: 0 / 411.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2784, allocations: 38.56 kB / 411.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2784, allocations: 0 / 411.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002273/0.2806, allocations: 1.218 MB / 412.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.441e-05/0.2807, allocations: 132.5 kB / 412.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.2809, allocations: 178.4 kB / 412.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.281, allocations: 25.7 kB / 412.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.281, allocations: 113.7 kB / 412.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.2811, allocations: 55.55 kB / 412.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.2812, allocations: 45.7 kB / 412.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2813, allocations: 326.8 kB / 413.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2815, allocations: 95.94 kB / 413.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2817, allocations: 139.3 kB / 413.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.282, allocations: 204.9 kB / 413.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2821, allocations: 0 / 413.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005382/0.2826, allocations: 314.1 kB / 413.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2826, allocations: 4 kB / 413.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.2827, allocations: 3.984 kB / 413.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.2829, allocations: 40.83 kB / 414 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.283, allocations: 27.98 kB / 414 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.2844, allocations: 1.519 MB / 415.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.2845, allocations: 8.031 kB / 415.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.2846, allocations: 12.14 kB / 415.5 MB, free: 8.945 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.0001282/0.2847, allocations: 137.7 kB / 415.7 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.2847, allocations: 19.89 kB / 415.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.2848, allocations: 25.47 kB / 415.7 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2848, allocations: 4 kB / 415.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2848, allocations: 4 kB / 415.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2848, allocations: 0 / 415.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.2851, allocations: 245.5 kB / 415.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2851, allocations: 4 kB / 415.9 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.2854, allocations: 47.97 kB / 416 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2854, allocations: 0 / 416 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2854, allocations: 11.94 kB / 416 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2854, allocations: 3.984 kB / 416 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2854, allocations: 7.875 kB / 416 MB, free: 8.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.286, allocations: 411 kB / 416.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.2861, allocations: 89.06 kB / 416.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2861, allocations: 7.938 kB / 416.5 MB, free: 7.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2862, allocations: 4.141 kB / 416.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.2863, allocations: 15.97 kB / 416.5 MB, free: 7.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2863, allocations: 4 kB / 416.5 MB, free: 7.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2864, allocations: 128.2 kB / 416.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2864, allocations: 0 / 416.7 MB, free: 7.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001333/0.2878, allocations: 0.5194 MB / 417.2 MB, free: 7.191 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.001862/0.2896, allocations: 1.394 MB / 418.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000733/0.2904, allocations: 393.8 kB / 419 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2904, allocations: 0 / 419 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.2906, allocations: 91.88 kB / 419.1 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2909, allocations: 30.27 kB / 419.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.2941, allocations: 2.46 MB / 421.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.2946, allocations: 0.7358 MB / 422.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.2947, allocations: 33.05 kB / 422.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.2948, allocations: 47.42 kB / 422.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2948, allocations: 0 / 422.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3332, allocations: 9.888 MB / 432.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.23, allocations: 3.938 kB / 432.2 MB, free: 8.082 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 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.csv","/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) Reference file matches