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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 189.9 kB / 23.7 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 47.92 kB / 370.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2823, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003369/0.2857, allocations: 1.589 MB / 424.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005551/0.2912, allocations: 2.926 MB / 427.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2914, allocations: 7.938 kB / 427.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.2917, allocations: 55.69 kB / 427.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.2918, allocations: 15.86 kB / 427.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.2956, allocations: 1.475 MB / 428.6 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.296, allocations: 151.6 kB / 428.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2961, allocations: 21.23 kB / 428.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.2962, allocations: 55.83 kB / 428.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.2963, allocations: 47.77 kB / 428.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.2963, allocations: 11.94 kB / 428.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.2984, allocations: 1.421 MB / 430.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.2985, allocations: 39.84 kB / 430.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.2986, allocations: 43.73 kB / 430.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.2999, allocations: 1.208 MB / 431.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.2999, allocations: 7.984 kB / 431.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2999, allocations: 4 kB / 431.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2999, allocations: 0 / 431.6 MB, free: 5.328 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.001035/0.3009, allocations: 0.4964 MB / 432.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.301, allocations: 12.03 kB / 432.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.301, allocations: 38.69 kB / 432.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3011, allocations: 20.84 kB / 432.2 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3014, allocations: 158.1 kB / 432.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3014, allocations: 4 kB / 432.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.3014, allocations: 8 kB / 432.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3017, allocations: 209.6 kB / 432.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3018, allocations: 3.984 kB / 432.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3018, allocations: 4 kB / 432.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3018, allocations: 4 kB / 432.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.3019, allocations: 55.89 kB / 432.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.3025, allocations: 339.6 kB / 433 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.3029, allocations: 126.8 kB / 433.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.303, allocations: 44.77 kB / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.303, allocations: 3.984 kB / 433.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.303, allocations: 38.56 kB / 433.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.303, allocations: 0 / 433.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002351/0.3054, allocations: 0.9816 MB / 434.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3055, allocations: 132.5 kB / 434.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.3057, allocations: 170.3 kB / 434.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3057, allocations: 33.7 kB / 434.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.3058, allocations: 116.8 kB / 434.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.3058, allocations: 55.55 kB / 434.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.48e-05/0.3059, allocations: 41.7 kB / 434.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3061, allocations: 326.8 kB / 435 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.3063, allocations: 103.8 kB / 435.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3065, allocations: 212.5 kB / 435.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.3068, allocations: 208.8 kB / 435.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3068, allocations: 0 / 435.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005712/0.3074, allocations: 314.1 kB / 435.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3074, allocations: 4 kB / 435.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.3074, allocations: 4 kB / 435.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.3076, allocations: 40.81 kB / 435.9 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3078, allocations: 35.92 kB / 435.9 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3092, allocations: 1.416 MB / 437.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.3093, allocations: 8.016 kB / 437.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3093, allocations: 8 kB / 437.3 MB, free: 15.14 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.0001314/0.3094, allocations: 129.8 kB / 437.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3095, allocations: 15.91 kB / 437.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.3095, allocations: 25.41 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3096, allocations: 4 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3096, allocations: 0 / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3096, allocations: 3.984 kB / 437.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3098, allocations: 200.7 kB / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3098, allocations: 0 / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.3101, allocations: 51.91 kB / 437.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3101, allocations: 4 kB / 437.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3101, allocations: 7.938 kB / 437.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3101, allocations: 0 / 437.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3101, allocations: 0 / 437.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.3107, allocations: 415.2 kB / 438.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.3107, allocations: 11.98 kB / 438.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.3108, allocations: 15.94 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3109, allocations: 3.938 kB / 438.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.3109, allocations: 15.92 kB / 438.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3109, allocations: 4 kB / 438.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.311, allocations: 132.2 kB / 438.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.311, allocations: 0 / 438.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001438/0.3125, allocations: 0.5077 MB / 438.9 MB, free: 13.55 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.002189/0.3147, allocations: 1.404 MB / 440.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008165/0.3155, allocations: 369.9 kB / 440.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3155, allocations: 4 kB / 440.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3157, allocations: 87.81 kB / 440.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.316, allocations: 26.98 kB / 440.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.3196, allocations: 2.457 MB / 443.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.3197, allocations: 118.6 kB / 443.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.3198, allocations: 29.06 kB / 443.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.3199, allocations: 47.42 kB / 443.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3199, allocations: 0 / 443.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04703/0.3669, allocations: 10.53 MB / 453.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.13, allocations: 14.69 kB / 453.9 MB, free: 14.48 MB / 366.1 MB " [Timeout remaining time 648] (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.000179856 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable Bessel.x[1] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.721211840864271]