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.0009928/0.0009928, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001308/0.001308, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9209/0.9209, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953e-06/1.953e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.409e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002375/0.002399, allocations: 1.594 MB / 326.1 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.006067, allocations: 3.003 MB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006195, allocations: 3.938 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.006557, allocations: 59.69 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.275e-05/0.00662, allocations: 11.81 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.009817, allocations: 1.503 MB / 330.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.01006, allocations: 151.6 kB / 330.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.01018, allocations: 17.08 kB / 330.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.736e-05/0.01026, allocations: 75.86 kB / 331 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.01034, allocations: 43.88 kB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.01036, allocations: 8 kB / 331 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.01192, allocations: 1.428 MB / 332.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.01202, allocations: 31.91 kB / 332.5 MB, free: 7.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.01207, allocations: 35.91 kB / 332.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.01326, allocations: 1.454 MB / 334 MB, free: 6.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01327, allocations: 3.938 kB / 334 MB, free: 6.344 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01327, allocations: 0 / 334 MB, free: 6.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.01328, allocations: 0 / 334 MB, free: 6.344 MB / 298.7 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.001149/0.01442, allocations: 496.4 kB / 334.5 MB, free: 5.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.01447, allocations: 16.02 kB / 334.5 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.0145, allocations: 34.75 kB / 334.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.01453, allocations: 16.84 kB / 334.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.01471, allocations: 161.5 kB / 334.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.01473, allocations: 8.312 kB / 334.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.01475, allocations: 8.375 kB / 334.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.01494, allocations: 205.3 kB / 334.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01495, allocations: 3.938 kB / 334.9 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.01496, allocations: 4 kB / 334.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.01496, allocations: 4 kB / 334.9 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.3e-05/0.01505, allocations: 55.95 kB / 335 MB, free: 5.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.01545, allocations: 343.6 kB / 335.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.0157, allocations: 130.5 kB / 335.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.01575, allocations: 40.83 kB / 335.5 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.01576, allocations: 0 / 335.5 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.01578, allocations: 34.56 kB / 335.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.01578, allocations: 0 / 335.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001274/0.01706, allocations: 0.9882 MB / 336.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.01711, allocations: 140.5 kB / 336.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.01722, allocations: 174.8 kB / 336.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.01723, allocations: 25.7 kB / 336.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.01729, allocations: 120.6 kB / 336.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.01732, allocations: 55.53 kB / 337 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.01737, allocations: 41.7 kB / 337 MB, free: 2.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.01746, allocations: 334.8 kB / 337.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01757, allocations: 91.95 kB / 337.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.0177, allocations: 217.6 kB / 337.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.01789, allocations: 201.5 kB / 337.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.01789, allocations: 0 / 337.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003095/0.0182, allocations: 302.3 kB / 338.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01822, allocations: 15.92 kB / 338.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.01824, allocations: 0 / 338.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.01836, allocations: 40.83 kB / 338.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.01844, allocations: 35.91 kB / 338.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007671/0.01921, allocations: 1.408 MB / 339.7 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.01926, allocations: 11.98 kB / 339.7 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01927, allocations: 4 kB / 339.7 MB, free: 196 kB / 298.7 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 8.529e-05/0.01936, allocations: 137.8 kB / 339.8 MB, free: 48 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.01938, allocations: 11.91 kB / 339.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.0194, allocations: 29.39 kB / 339.8 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01941, allocations: 4 kB / 339.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01941, allocations: 0 / 339.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01941, allocations: 0 / 339.8 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.01958, allocations: 200.7 kB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01958, allocations: 4 kB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001366/0.01971, allocations: 55.89 kB / 340.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01972, allocations: 4 kB / 340.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01973, allocations: 11.94 kB / 340.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01973, allocations: 0 / 340.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01973, allocations: 0 / 340.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.02006, allocations: 414 kB / 340.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.02008, allocations: 11.91 kB / 340.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.02009, allocations: 4 kB / 340.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.02014, allocations: 8 kB / 340.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.02018, allocations: 19.95 kB / 340.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.02018, allocations: 4.141 kB / 340.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.02024, allocations: 120.2 kB / 340.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02024, allocations: 0 / 340.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001299/0.02154, allocations: 0.5194 MB / 341.2 MB, free: 14.59 MB / 314.7 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.001148/0.02269, allocations: 1.497 MB / 342.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.02313, allocations: 381.9 kB / 343.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.02314, allocations: 0 / 343.1 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.02322, allocations: 79.89 kB / 343.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.02346, allocations: 33.16 kB / 343.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.02541, allocations: 2.459 MB / 345.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.0255, allocations: 122.8 kB / 345.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.232e-05/0.02557, allocations: 33.11 kB / 345.8 MB, free: 9.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.02564, allocations: 48.48 kB / 345.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02564, allocations: 0 / 345.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.05364, allocations: 10.64 MB / 356.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.415, allocations: 2.656 kB / 356.5 MB, free: 15.29 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 9.24645056668669]