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.001788/0.001788, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00267/0.00267, allocations: 203.8 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.604/1.604, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002191/0.002191, allocations: 71.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4291, allocations: 53.39 MB / 431.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004286/0.4334, allocations: 1.6 MB / 432.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008181/0.4416, allocations: 2.984 MB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.4418, allocations: 7.938 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.4423, allocations: 63.69 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.4424, allocations: 11.86 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.4477, allocations: 1.466 MB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.4481, allocations: 151.6 kB / 437.4 MB, free: 164 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.4483, allocations: 21.23 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4484, allocations: 55.83 kB / 437.5 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.4486, allocations: 47.77 kB / 437.5 MB, free: 36 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.4486, allocations: 8 kB / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.4509, allocations: 1.436 MB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.451, allocations: 35.86 kB / 439 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.318e-05/0.4511, allocations: 47.66 kB / 439 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.4526, allocations: 1.212 MB / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4526, allocations: 0 / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4526, allocations: 0 / 440.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.4526, allocations: 0 / 440.3 MB, free: 13.29 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.001156/0.4537, allocations: 0.4974 MB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4538, allocations: 11.98 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.4538, allocations: 46.73 kB / 440.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.4539, allocations: 16.84 kB / 440.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4543, allocations: 151.1 kB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4543, allocations: 4.375 kB / 441 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.4543, allocations: 16.12 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.4548, allocations: 202.1 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.4548, allocations: 7.938 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.4548, allocations: 4 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4548, allocations: 0 / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.455, allocations: 63.89 kB / 441.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.4558, allocations: 335.6 kB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.4562, allocations: 126.6 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.4563, allocations: 36.83 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.4563, allocations: 8.125 kB / 441.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4563, allocations: 34.56 kB / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.4563, allocations: 0 / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002151/0.4585, allocations: 1.003 MB / 442.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.4586, allocations: 132.5 kB / 442.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.4588, allocations: 186.2 kB / 443.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4588, allocations: 25.7 kB / 443.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4589, allocations: 116.5 kB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.459, allocations: 47.59 kB / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.459, allocations: 45.7 kB / 443.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4592, allocations: 330.8 kB / 443.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4594, allocations: 91.95 kB / 443.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.4596, allocations: 213.1 kB / 444 MB, free: 9.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.4599, allocations: 212.8 kB / 444.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.46, allocations: 7.938 kB / 444.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000528/0.4605, allocations: 308.9 kB / 444.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4605, allocations: 8 kB / 444.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4605, allocations: 0 / 444.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.4607, allocations: 40.83 kB / 444.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.4609, allocations: 35.91 kB / 444.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.4623, allocations: 1.412 MB / 446 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.4623, allocations: 8.031 kB / 446 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.4624, allocations: 8 kB / 446 MB, free: 7.102 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.0001579/0.4625, allocations: 133.8 kB / 446.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4626, allocations: 11.91 kB / 446.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.4626, allocations: 29.45 kB / 446.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4626, allocations: 0 / 446.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4626, allocations: 8.031 kB / 446.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4626, allocations: 4 kB / 446.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.4629, allocations: 196.7 kB / 446.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4629, allocations: 0 / 446.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.4632, allocations: 55.89 kB / 446.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4632, allocations: 0 / 446.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4632, allocations: 0 / 446.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4632, allocations: 4 kB / 446.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4632, allocations: 3.938 kB / 446.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.4638, allocations: 411.2 kB / 446.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.4638, allocations: 15.91 kB / 446.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4638, allocations: 4 kB / 446.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4639, allocations: 12.03 kB / 446.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.464, allocations: 15.86 kB / 446.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.464, allocations: 8 kB / 446.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.4641, allocations: 120.6 kB / 447 MB, free: 6.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4641, allocations: 0 / 447 MB, free: 6.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4656, allocations: 0.5155 MB / 447.5 MB, free: 5.508 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.00173/0.4674, allocations: 1.38 MB / 448.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.4681, allocations: 373.9 kB / 449.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4681, allocations: 0 / 449.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4682, allocations: 83.83 kB / 449.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.4685, allocations: 34.91 kB / 449.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.4718, allocations: 2.473 MB / 451.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.472, allocations: 118.6 kB / 452 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.4721, allocations: 25.06 kB / 452 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4722, allocations: 47.42 kB / 452 MB, free: 0.832 MB / 350.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4722, allocations: 4 kB / 452 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06975/0.5419, allocations: 10.47 MB / 462.5 MB, free: 6.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.45, allocations: 10.59 kB / 462.5 MB, free: 6.461 MB / 366.1 MB " [Timeout remaining time 647] (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/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_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: 15.302101601846516]