Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009334/0.0009334, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8575/0.8575, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.175e-05, allocations: 3.125 kB / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002079/0.002101, allocations: 1.591 MB / 326.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.005533, allocations: 3 MB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005654, allocations: 3.938 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.005991, allocations: 67.56 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.006044, allocations: 7.875 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.008683, allocations: 1.506 MB / 330.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.008886, allocations: 151.6 kB / 330.8 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.008983, allocations: 17.08 kB / 330.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.009055, allocations: 79.86 kB / 330.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.009119, allocations: 39.89 kB / 331 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.009136, allocations: 8 kB / 331 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.01016, allocations: 1.436 MB / 332.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.01024, allocations: 31.91 kB / 332.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.01028, allocations: 31.86 kB / 332.5 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009162/0.01119, allocations: 1.45 MB / 333.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.01119, allocations: 0 / 333.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0112, allocations: 0 / 333.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.0112, allocations: 4 kB / 333.9 MB, free: 6.477 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.0006861/0.01189, allocations: 497.4 kB / 334.4 MB, free: 5.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.01192, allocations: 15.92 kB / 334.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.01196, allocations: 42.73 kB / 334.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.01199, allocations: 16.84 kB / 334.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.01217, allocations: 157.5 kB / 334.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.01217, allocations: 384 / 334.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.0122, allocations: 12.38 kB / 334.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.01239, allocations: 202.7 kB / 334.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.0124, allocations: 11.94 kB / 334.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.01241, allocations: 4 kB / 334.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.01241, allocations: 3.938 kB / 334.9 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.0125, allocations: 55.95 kB / 334.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.01289, allocations: 339.6 kB / 335.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01312, allocations: 122.6 kB / 335.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.01317, allocations: 36.83 kB / 335.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.01319, allocations: 8 kB / 335.4 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.0132, allocations: 38.69 kB / 335.4 MB, free: 4.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.0132, allocations: 0 / 335.4 MB, free: 4.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001238/0.01444, allocations: 0.9846 MB / 336.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.0145, allocations: 136.4 kB / 336.6 MB, free: 3.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.0146, allocations: 178.2 kB / 336.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.01461, allocations: 30.92 kB / 336.8 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.01467, allocations: 108.6 kB / 336.9 MB, free: 3.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.0147, allocations: 55.52 kB / 336.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.01475, allocations: 45.7 kB / 337 MB, free: 3.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.01483, allocations: 326.8 kB / 337.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.01493, allocations: 95.94 kB / 337.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.01506, allocations: 216.4 kB / 337.6 MB, free: 2.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.01525, allocations: 200.9 kB / 337.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01525, allocations: 0 / 337.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003194/0.01557, allocations: 302.2 kB / 338.1 MB, free: 1.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01558, allocations: 7.938 kB / 338.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.01559, allocations: 7.984 kB / 338.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001153/0.01571, allocations: 40.83 kB / 338.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.202e-05/0.01579, allocations: 31.92 kB / 338.2 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007613/0.01655, allocations: 1.42 MB / 339.6 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.0166, allocations: 12.02 kB / 339.6 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01661, allocations: 4 kB / 339.6 MB, free: 320 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.343e-05/0.0167, allocations: 145.7 kB / 339.8 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.01672, allocations: 16.06 kB / 339.8 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.01674, allocations: 21.47 kB / 339.8 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.01674, allocations: 3.938 kB / 339.8 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.01674, allocations: 0 / 339.8 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01675, allocations: 7.984 kB / 339.8 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.0169, allocations: 200.6 kB / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.0169, allocations: 0 / 340 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.01704, allocations: 51.97 kB / 340 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.01704, allocations: 0 / 340 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.01705, allocations: 0 / 340 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.01705, allocations: 11.98 kB / 340.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01706, allocations: 3.938 kB / 340.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.01739, allocations: 414 kB / 340.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.0174, allocations: 11.91 kB / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.01741, allocations: 4 kB / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/0.01746, allocations: 4 kB / 340.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.01749, allocations: 11.98 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.0175, allocations: 7.984 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.01755, allocations: 119.2 kB / 340.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01755, allocations: 0 / 340.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007719/0.01833, allocations: 0.5233 MB / 341.1 MB, free: 14.71 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.001035/0.01936, allocations: 1.497 MB / 342.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.01976, allocations: 373.9 kB / 343 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01976, allocations: 0 / 343 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/0.01985, allocations: 86.84 kB / 343.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.02006, allocations: 30.95 kB / 343.1 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.02194, allocations: 2.459 MB / 345.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.524e-05/0.02201, allocations: 122.7 kB / 345.7 MB, free: 9.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.02208, allocations: 41.28 kB / 345.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.02214, allocations: 48.48 kB / 345.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02214, allocations: 0 / 345.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.04492, allocations: 10.62 MB / 356.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.045, allocations: 12 kB / 356.4 MB, free: 15.38 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.803380907513201]