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.001889/0.001889, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002344/0.002344, allocations: 211.5 kB / 23.73 MB, free: 4.387 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001719/0.001719, allocations: 51.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2869, allocations: 53.37 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003155/0.29, allocations: 1.6 MB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2951, allocations: 2.984 MB / 435.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2952, allocations: 3.938 kB / 435.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.2956, allocations: 63.69 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.611e-05/0.2956, allocations: 11.88 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.2992, allocations: 1.468 MB / 437.2 MB, free: 484 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.2995, allocations: 151.6 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2996, allocations: 21.23 kB / 437.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2997, allocations: 55.83 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.2998, allocations: 47.78 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.2998, allocations: 12 kB / 437.5 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.3018, allocations: 1.428 MB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.94e-05/0.3019, allocations: 39.84 kB / 439 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.302, allocations: 43.73 kB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.3033, allocations: 1.212 MB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3033, allocations: 0 / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3033, allocations: 0 / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3033, allocations: 4 kB / 440.2 MB, free: 13.46 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.001082/0.3044, allocations: 0.4935 MB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3044, allocations: 16.03 kB / 440.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.3045, allocations: 34.75 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.3045, allocations: 24.81 kB / 440.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3048, allocations: 151.1 kB / 440.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3048, allocations: 12.31 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3049, allocations: 12.12 kB / 440.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.3052, allocations: 210 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3052, allocations: 0 / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.3052, allocations: 4 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3052, allocations: 4 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3053, allocations: 59.89 kB / 441.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.306, allocations: 339.6 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.3063, allocations: 126.6 kB / 441.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.3064, allocations: 40.83 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3064, allocations: 4.125 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3065, allocations: 34.56 kB / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.3065, allocations: 0 / 441.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002135/0.3086, allocations: 0.9856 MB / 442.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.3087, allocations: 136.5 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.3089, allocations: 178.2 kB / 443 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3089, allocations: 25.7 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.309, allocations: 120.4 kB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.309, allocations: 47.59 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.3091, allocations: 45.7 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3092, allocations: 322.8 kB / 443.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3094, allocations: 100.2 kB / 443.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.3096, allocations: 216.4 kB / 443.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.31, allocations: 208.7 kB / 444.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.31, allocations: 7.875 kB / 444.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005312/0.3105, allocations: 306.4 kB / 444.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3105, allocations: 4 kB / 444.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3105, allocations: 0 / 444.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.3107, allocations: 44.81 kB / 444.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.3109, allocations: 31.92 kB / 444.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.3122, allocations: 1.42 MB / 445.9 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.3123, allocations: 12.02 kB / 445.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.3123, allocations: 4 kB / 445.9 MB, free: 7.27 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.0001296/0.3124, allocations: 133.8 kB / 446.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.3125, allocations: 15.91 kB / 446.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.3125, allocations: 21.47 kB / 446.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3125, allocations: 8.156 kB / 446.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3125, allocations: 3.938 kB / 446.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3126, allocations: 3.984 kB / 446.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.3128, allocations: 192.7 kB / 446.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3128, allocations: 0 / 446.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.3131, allocations: 55.91 kB / 446.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3131, allocations: 4 kB / 446.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.3131, allocations: 4 kB / 446.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3131, allocations: 0 / 446.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3131, allocations: 3.938 kB / 446.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.3137, allocations: 418.5 kB / 446.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.3137, allocations: 15.94 kB / 446.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3137, allocations: 4 kB / 446.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3138, allocations: 7.938 kB / 446.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.3139, allocations: 11.92 kB / 446.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.3139, allocations: 4 kB / 446.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.314, allocations: 132.2 kB / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.314, allocations: 0 / 446.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001421/0.3154, allocations: 0.5116 MB / 447.5 MB, free: 5.676 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.001862/0.3173, allocations: 1.372 MB / 448.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.318, allocations: 372.1 kB / 449.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.318, allocations: 4 kB / 449.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.3181, allocations: 91.81 kB / 449.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3184, allocations: 34.67 kB / 449.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.3216, allocations: 2.471 MB / 451.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3217, allocations: 118.6 kB / 451.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.3218, allocations: 29.25 kB / 451.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.3219, allocations: 47.42 kB / 452 MB, free: 1 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3219, allocations: 0 / 452 MB, free: 1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04381/0.3657, allocations: 10.47 MB / 462.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.19, allocations: 14.77 kB / 462.5 MB, free: 6.66 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.796018980909139]