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.001631/0.001631, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001953/0.001953, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001437/0.001437, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003835/0.1087, allocations: 1.63 MB / 427.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2701/0.3788, allocations: 3.223 MB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.379, allocations: 5.969 kB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.3793, allocations: 56.33 kB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.3794, allocations: 12.19 kB / 431.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003979/0.3834, allocations: 1.416 MB / 432.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002992/0.3837, allocations: 150.6 kB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3838, allocations: 21.33 kB / 432.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.54e-05/0.3839, allocations: 54.61 kB / 432.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.384, allocations: 54.16 kB / 432.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.384, allocations: 8.219 kB / 432.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.3861, allocations: 1.391 MB / 434.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.3862, allocations: 37.02 kB / 434.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.3862, allocations: 52.38 kB / 434.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3878, allocations: 1.209 MB / 435.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3878, allocations: 1.062 kB / 435.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3878, allocations: 3.875 kB / 435.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3878, allocations: 0 / 435.6 MB, free: 7.441 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.001359/0.3892, allocations: 0.5667 MB / 436.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3892, allocations: 9.531 kB / 436.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.3893, allocations: 44.33 kB / 436.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.3893, allocations: 16.81 kB / 436.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3896, allocations: 208.1 kB / 436.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3896, allocations: 9.438 kB / 436.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3896, allocations: 13.08 kB / 436.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.3899, allocations: 132.4 kB / 436.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.3899, allocations: 4.625 kB / 436.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3899, allocations: 3.719 kB / 436.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3899, allocations: 2.75 kB / 436.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3901, allocations: 58.42 kB / 436.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.3907, allocations: 384.1 kB / 437.1 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.3911, allocations: 128.7 kB / 437.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.853e-05/0.3912, allocations: 40.78 kB / 437.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3912, allocations: 1.75 kB / 437.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3912, allocations: 39.09 kB / 437.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.3912, allocations: 0 / 437.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002119/0.3933, allocations: 1.216 MB / 438.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.3934, allocations: 134.8 kB / 438.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3935, allocations: 184 kB / 438.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3935, allocations: 27.17 kB / 438.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.3936, allocations: 112.7 kB / 438.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.3936, allocations: 53.55 kB / 439 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.656e-05/0.3937, allocations: 45.5 kB / 439 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.964e-05/0.3938, allocations: 325.3 kB / 439.3 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.3939, allocations: 95.8 kB / 439.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.3941, allocations: 143.7 kB / 439.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.3944, allocations: 206.1 kB / 439.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3944, allocations: 0 / 439.8 MB, free: 4.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000567/0.395, allocations: 304.8 kB / 440.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.395, allocations: 5.25 kB / 440.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.3951, allocations: 2.781 kB / 440.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.3952, allocations: 47.36 kB / 440.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3954, allocations: 28.78 kB / 440.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.3965, allocations: 1.513 MB / 441.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.3966, allocations: 14.36 kB / 441.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3966, allocations: 4.875 kB / 441.7 MB, free: 3.16 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.0001148/0.3967, allocations: 140.1 kB / 441.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.3968, allocations: 15.22 kB / 441.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.3968, allocations: 26.83 kB / 441.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3968, allocations: 2.094 kB / 441.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3968, allocations: 0.75 kB / 441.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3968, allocations: 5.094 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.3971, allocations: 243.6 kB / 442.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3971, allocations: 0.75 kB / 442.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.3973, allocations: 49.12 kB / 442.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3974, allocations: 1.125 kB / 442.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3974, allocations: 9.906 kB / 442.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3974, allocations: 3.969 kB / 442.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3974, allocations: 3.625 kB / 442.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.3979, allocations: 415.3 kB / 442.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.3979, allocations: 89.77 kB / 442.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3979, allocations: 9.062 kB / 442.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.398, allocations: 9.438 kB / 442.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.3981, allocations: 16.03 kB / 442.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3981, allocations: 10.84 kB / 442.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.3982, allocations: 125.2 kB / 442.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 442.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003302/0.4015, allocations: 0.5138 MB / 443.3 MB, free: 2.32 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.003021/0.4045, allocations: 1.378 MB / 444.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.4054, allocations: 372.1 kB / 445.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4054, allocations: 0 / 445.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4056, allocations: 83.38 kB / 445.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.406, allocations: 33.23 kB / 445.2 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.4096, allocations: 2.459 MB / 447.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.41, allocations: 0.7312 MB / 448.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.4102, allocations: 33.44 kB / 448.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4103, allocations: 44.42 kB / 448.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4103, allocations: 0 / 448.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0473/0.4576, allocations: 9.875 MB / 458.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.919/10.38, allocations: 8.844 kB / 458.4 MB, free: 11.41 MB / 366.1 MB " [Timeout remaining time 650] (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: 13.069854676999967]