Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00156/0.00156, allocations: 109.9 kB / 21.18 MB, free: 0.6992 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.001884/0.001884, allocations: 216.7 kB / 24.49 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 55.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2654, allocations: 49.16 MB / 396.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002888/0.2683, allocations: 1.614 MB / 397.9 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006328/0.2746, allocations: 3.258 MB / 401.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.2749, allocations: 1.188 kB / 401.2 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005749/0.2755, allocations: 61.39 kB / 401.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.2756, allocations: 15.64 kB / 401.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.2817, allocations: 1.461 MB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.2821, allocations: 150 kB / 402.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.2823, allocations: 23.78 kB / 402.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2824, allocations: 58.33 kB / 403 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.2825, allocations: 55.73 kB / 403 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2825, allocations: 7.719 kB / 403 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.2853, allocations: 1.433 MB / 404.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2854, allocations: 38.62 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.455e-05/0.2855, allocations: 56.55 kB / 404.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.287, allocations: 1.212 MB / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.287, allocations: 1.891 kB / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.287, allocations: 0 / 405.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.287, allocations: 4 kB / 405.8 MB, free: 4.484 MB / 318.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.001088/0.2881, allocations: 0.4904 MB / 406.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2881, allocations: 17.52 kB / 406.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.559e-05/0.2882, allocations: 39.75 kB / 406.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.2882, allocations: 15.72 kB / 406.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.2885, allocations: 157 kB / 406.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2885, allocations: 8.5 kB / 406.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.2885, allocations: 22.33 kB / 406.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2888, allocations: 124.9 kB / 406.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2888, allocations: 0 / 406.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2888, allocations: 1.375 kB / 406.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2888, allocations: 9.953 kB / 406.7 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2889, allocations: 62.81 kB / 406.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.2895, allocations: 347.8 kB / 407.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.2899, allocations: 122.5 kB / 407.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.436e-05/0.2899, allocations: 42.97 kB / 407.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.29, allocations: 1.312 kB / 407.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.29, allocations: 36.45 kB / 407.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.29, allocations: 0 / 407.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001984/0.292, allocations: 0.9943 MB / 408.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.292, allocations: 130.8 kB / 408.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.2921, allocations: 180 kB / 408.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2922, allocations: 31.23 kB / 408.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.2922, allocations: 110 kB / 408.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.2922, allocations: 58.23 kB / 408.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.2923, allocations: 43.7 kB / 408.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.2924, allocations: 331 kB / 409.1 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.2925, allocations: 98.62 kB / 409.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.2927, allocations: 133.6 kB / 409.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2929, allocations: 208 kB / 409.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2929, allocations: 0 / 409.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000461/0.2934, allocations: 305.4 kB / 409.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2934, allocations: 5.344 kB / 409.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.2934, allocations: 1.969 kB / 409.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.2936, allocations: 48.59 kB / 409.9 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2937, allocations: 28.42 kB / 409.9 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008628/0.2946, allocations: 1.422 MB / 411.3 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.2947, allocations: 8 kB / 411.4 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.2947, allocations: 4.125 kB / 411.4 MB, free: 92 kB / 318.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.0001394/0.2949, allocations: 135.2 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.2949, allocations: 13.56 kB / 411.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.295, allocations: 23.95 kB / 411.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.295, allocations: 6 kB / 411.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.295, allocations: 9.266 kB / 411.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.295, allocations: 3.984 kB / 411.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.2953, allocations: 221.5 kB / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2953, allocations: 0 / 411.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.2956, allocations: 48.28 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2956, allocations: 1.5 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2956, allocations: 4 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2956, allocations: 1.531 kB / 411.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2956, allocations: 3.938 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.2962, allocations: 413.8 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.2962, allocations: 12.59 kB / 412.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2962, allocations: 5.328 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2964, allocations: 7.266 kB / 412.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.2964, allocations: 15.27 kB / 412.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.2964, allocations: 3.375 kB / 412.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.2965, allocations: 133.2 kB / 412.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2965, allocations: 4 kB / 412.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002661/0.2992, allocations: 0.5103 MB / 412.9 MB, free: 15.25 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.003065/0.3023, allocations: 1.394 MB / 414.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008264/0.3031, allocations: 379.4 kB / 414.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3031, allocations: 0 / 414.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.3033, allocations: 85.38 kB / 414.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3036, allocations: 37.23 kB / 414.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.3075, allocations: 2.457 MB / 417.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.308, allocations: 0.7316 MB / 418 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3081, allocations: 32.3 kB / 418 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.3082, allocations: 47.61 kB / 418.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3082, allocations: 4 kB / 418.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/0.3729, allocations: 10.06 MB / 428.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.06, allocations: 8 kB / 428.1 MB, free: 2.832 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.587991513006273]