Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 208.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 43.92 kB / 377.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2725, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00298/0.2754, allocations: 1.592 MB / 432.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005152/0.2806, allocations: 2.992 MB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2807, allocations: 4 kB / 435.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.281, allocations: 59.7 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.2811, allocations: 15.86 kB / 435.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003558/0.2846, allocations: 1.469 MB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.2849, allocations: 147.7 kB / 437.3 MB, free: 392 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.285, allocations: 25.17 kB / 437.4 MB, free: 364 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.2851, allocations: 55.83 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2852, allocations: 55.77 kB / 437.5 MB, free: 252 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.2852, allocations: 8 kB / 437.5 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.2871, allocations: 1.444 MB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.2871, allocations: 31.86 kB / 439 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.2872, allocations: 47.72 kB / 439 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.2884, allocations: 1.208 MB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2884, allocations: 0 / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2884, allocations: 8 kB / 440.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2884, allocations: 0 / 440.2 MB, free: 13.5 MB / 350.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.0008906/0.2893, allocations: 0.4896 MB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2893, allocations: 16.02 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.2894, allocations: 34.75 kB / 440.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2894, allocations: 16.84 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2897, allocations: 159 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.2897, allocations: 8.375 kB / 440.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.2897, allocations: 16.11 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.29, allocations: 206.2 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2901, allocations: 0 / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.2901, allocations: 4 kB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2901, allocations: 11.88 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2902, allocations: 62.42 kB / 441.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.2908, allocations: 331.7 kB / 441.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.2912, allocations: 126.5 kB / 441.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.592e-05/0.2913, allocations: 44.83 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2913, allocations: 0 / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2913, allocations: 38.5 kB / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.2913, allocations: 0 / 441.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002115/0.2934, allocations: 0.9887 MB / 442.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.2935, allocations: 132.5 kB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.2937, allocations: 178.2 kB / 443.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.2937, allocations: 29.7 kB / 443.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.2938, allocations: 116.4 kB / 443.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.2938, allocations: 51.58 kB / 443.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.733e-05/0.2939, allocations: 41.72 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.294, allocations: 334.8 kB / 443.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2942, allocations: 95.94 kB / 443.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.2945, allocations: 214.5 kB / 443.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.2948, allocations: 204.7 kB / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2948, allocations: 0 / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005303/0.2953, allocations: 314.3 kB / 444.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2953, allocations: 5.219 kB / 444.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2953, allocations: 0 / 444.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/0.2955, allocations: 48.81 kB / 444.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2957, allocations: 31.98 kB / 444.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.297, allocations: 1.408 MB / 445.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.787e-05/0.2971, allocations: 8.078 kB / 445.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2971, allocations: 7.984 kB / 445.9 MB, free: 7.32 MB / 350.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.0001342/0.2972, allocations: 141.9 kB / 446.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2973, allocations: 15.91 kB / 446.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.2973, allocations: 25.45 kB / 446.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2973, allocations: 4 kB / 446.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2973, allocations: 3.938 kB / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.2973, allocations: 0 / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2976, allocations: 196.6 kB / 446.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2976, allocations: 0 / 446.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2979, allocations: 55.95 kB / 446.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2979, allocations: 8 kB / 446.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.2979, allocations: 4 kB / 446.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2979, allocations: 3.984 kB / 446.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2979, allocations: 3.938 kB / 446.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.2984, allocations: 418.3 kB / 446.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.2984, allocations: 11.91 kB / 446.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.2985, allocations: 4 kB / 446.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2986, allocations: 8.031 kB / 446.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.2986, allocations: 11.92 kB / 446.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2986, allocations: 4 kB / 446.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.2988, allocations: 136.2 kB / 447 MB, free: 6.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2988, allocations: 0 / 447 MB, free: 6.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001417/0.3002, allocations: 0.5077 MB / 447.5 MB, free: 5.715 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.001706/0.3019, allocations: 1.38 MB / 448.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.3025, allocations: 369.9 kB / 449.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3025, allocations: 0 / 449.2 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3027, allocations: 91.83 kB / 449.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.303, allocations: 27.92 kB / 449.3 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.3061, allocations: 2.464 MB / 451.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.3062, allocations: 122.6 kB / 451.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.337e-05/0.3063, allocations: 29.06 kB / 451.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.3064, allocations: 43.42 kB / 452 MB, free: 1.043 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3064, allocations: 0 / 452 MB, free: 1.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0513/0.3577, allocations: 10.55 MB / 462.5 MB, free: 6.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.01, allocations: 11.41 kB / 462.5 MB, free: 6.637 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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.000179856 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Bessel.x[1] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.577157296007499]