Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 76.08 kB / 20.67 MB, free: 3.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 153.1 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9233/0.9233, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.032e-05, allocations: 6.219 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002337/0.002358, allocations: 1.571 MB / 320 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003736/0.006093, allocations: 2.945 MB / 322.9 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.006204, allocations: 3.938 kB / 322.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.006533, allocations: 63.62 kB / 323 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.006591, allocations: 15.86 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.009581, allocations: 1.488 MB / 324.5 MB, free: 264 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.009802, allocations: 155.6 kB / 324.7 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.009904, allocations: 21.28 kB / 324.7 MB, free: 84 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.741e-05/0.009992, allocations: 75.86 kB / 324.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.01009, allocations: 39.89 kB / 324.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.01011, allocations: 8 kB / 324.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.01157, allocations: 1.421 MB / 326.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.01167, allocations: 43.83 kB / 326.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.01172, allocations: 31.91 kB / 326.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.01297, allocations: 1.443 MB / 327.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.01297, allocations: 4 kB / 327.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01297, allocations: 0 / 327.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.01298, allocations: 4 kB / 327.7 MB, free: 13.01 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.001029/0.01401, allocations: 0.4896 MB / 328.2 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.01405, allocations: 8.922 kB / 328.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.01408, allocations: 38.75 kB / 328.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.01413, allocations: 16.84 kB / 328.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.01433, allocations: 161.5 kB / 328.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.01434, allocations: 8.312 kB / 328.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.01437, allocations: 15.94 kB / 328.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.01461, allocations: 198.2 kB / 328.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01462, allocations: 7.984 kB / 328.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.01463, allocations: 0 / 328.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.01463, allocations: 0 / 328.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.01474, allocations: 59.89 kB / 328.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.01519, allocations: 343.7 kB / 329.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.01544, allocations: 130.5 kB / 329.2 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.01549, allocations: 36.83 kB / 329.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.0155, allocations: 4 kB / 329.2 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.01553, allocations: 34.56 kB / 329.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.01553, allocations: 0 / 329.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.00133/0.01686, allocations: 0.9886 MB / 330.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.01692, allocations: 132.5 kB / 330.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.01704, allocations: 170.3 kB / 330.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.01705, allocations: 29.7 kB / 330.6 MB, free: 9.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.01711, allocations: 112.5 kB / 330.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.01715, allocations: 55.53 kB / 330.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.01721, allocations: 49.7 kB / 330.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.0173, allocations: 326.8 kB / 331.1 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.01742, allocations: 95.94 kB / 331.2 MB, free: 9.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01756, allocations: 209.1 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.01778, allocations: 212.8 kB / 331.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.01778, allocations: 0 / 331.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000362/0.01814, allocations: 310.2 kB / 331.9 MB, free: 8.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01816, allocations: 4 kB / 331.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.01817, allocations: 4 kB / 331.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.01831, allocations: 48.75 kB / 332 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.871e-05/0.0184, allocations: 31.98 kB / 332 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/0.01926, allocations: 1.404 MB / 333.4 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.01931, allocations: 9.25 kB / 333.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01932, allocations: 4.156 kB / 333.4 MB, free: 6.855 MB / 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 9.405e-05/0.01942, allocations: 137.8 kB / 333.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.01944, allocations: 15.98 kB / 333.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.01947, allocations: 29.45 kB / 333.6 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.01947, allocations: 0 / 333.6 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01947, allocations: 7.875 kB / 333.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01948, allocations: 0 / 333.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01965, allocations: 196.7 kB / 333.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01965, allocations: 0 / 333.8 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.0198, allocations: 59.95 kB / 333.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.0198, allocations: 0 / 333.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01981, allocations: 4 kB / 333.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.01981, allocations: 7.938 kB / 333.9 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01982, allocations: 3.938 kB / 333.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.02016, allocations: 418.8 kB / 334.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.02018, allocations: 15.84 kB / 334.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.02019, allocations: 0 / 334.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.02025, allocations: 12.03 kB / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.02028, allocations: 11.92 kB / 334.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.02028, allocations: 8 kB / 334.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.02035, allocations: 128.2 kB / 334.5 MB, free: 5.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02035, allocations: 0 / 334.5 MB, free: 5.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001142/0.02149, allocations: 0.5194 MB / 335 MB, free: 5.242 MB / 298.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.001464/0.02296, allocations: 1.507 MB / 336.5 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.02343, allocations: 374 kB / 336.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02343, allocations: 0 / 336.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.02353, allocations: 79.89 kB / 336.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.02376, allocations: 47.03 kB / 337 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.02581, allocations: 2.442 MB / 339.4 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.0259, allocations: 122.6 kB / 339.5 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.056e-05/0.02597, allocations: 37.23 kB / 339.6 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.02603, allocations: 44.48 kB / 339.6 MB, free: 456 kB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02603, allocations: 0 / 339.6 MB, free: 456 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.05392, allocations: 10.69 MB / 350.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/7.176, allocations: 7.266 kB / 350.3 MB, free: 5.879 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[1] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[2] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[2] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! Error: Could not read variable Bessel.x[3] in file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv. Warning: Get data of variable Bessel.x[3] from file Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.036724061705172]