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.001283/0.001283, allocations: 124.1 kB / 17.79 MB, free: 5.25 MB / 14.72 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.001303/0.001303, allocations: 198.8 kB / 20.73 MB, free: 2.309 MB / 14.72 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 1.439/1.439, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001562/0.001562, allocations: 47.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09984, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00279/0.1026, allocations: 1.619 MB / 419.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.1076, allocations: 3.187 MB / 422.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1077, allocations: 3.938 kB / 422.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.108, allocations: 55.69 kB / 422.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.622e-05/0.1081, allocations: 7.875 kB / 422.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003665/0.1117, allocations: 1.431 MB / 424.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.1121, allocations: 151.6 kB / 424.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1122, allocations: 17.12 kB / 424.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.658e-05/0.1123, allocations: 59.77 kB / 424.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1124, allocations: 51.77 kB / 424.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1124, allocations: 8 kB / 424.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.1142, allocations: 1.39 MB / 425.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1143, allocations: 35.86 kB / 425.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.1144, allocations: 51.66 kB / 425.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1156, allocations: 1.197 MB / 427 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1156, allocations: 0 / 427 MB, free: 3.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1156, allocations: 0 / 427 MB, free: 3.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1156, allocations: 7.938 kB / 427 MB, free: 3.359 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.001044/0.1167, allocations: 0.5766 MB / 427.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1167, allocations: 8.031 kB / 427.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.1168, allocations: 38.75 kB / 427.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1168, allocations: 16.84 kB / 427.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.1171, allocations: 219.9 kB / 427.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1171, allocations: 8 kB / 427.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.1172, allocations: 16 kB / 427.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1175, allocations: 125 kB / 428 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1175, allocations: 0 / 428 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1175, allocations: 4 kB / 428 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.1175, allocations: 4 kB / 428 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1177, allocations: 55.89 kB / 428.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1183, allocations: 384.6 kB / 428.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003889/0.1187, allocations: 126.5 kB / 428.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.1188, allocations: 44.78 kB / 428.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1188, allocations: 0 / 428.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1189, allocations: 38.56 kB / 428.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1189, allocations: 0 / 428.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002429/0.1213, allocations: 1.225 MB / 429.9 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.203e-05/0.1214, allocations: 136.5 kB / 430 MB, free: 12 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1216, allocations: 166.4 kB / 430.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.1216, allocations: 33.7 kB / 430.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.178e-05/0.1217, allocations: 112.5 kB / 430.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.878e-05/0.1218, allocations: 59.45 kB / 430.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.1218, allocations: 45.7 kB / 430.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.122, allocations: 322.8 kB / 430.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1222, allocations: 99.94 kB / 430.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1224, allocations: 128 kB / 431 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.1227, allocations: 217.8 kB / 431.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1227, allocations: 0 / 431.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005908/0.1233, allocations: 310.2 kB / 431.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1233, allocations: 4 kB / 431.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.1234, allocations: 4 kB / 431.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/0.1236, allocations: 44.81 kB / 431.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1237, allocations: 31.92 kB / 431.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.1252, allocations: 1.515 MB / 433.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.1253, allocations: 7.984 kB / 433.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.1253, allocations: 8 kB / 433.1 MB, free: 12.73 MB / 366.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.0001423/0.1255, allocations: 137.8 kB / 433.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.126e-05/0.1255, allocations: 11.91 kB / 433.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.302e-05/0.1256, allocations: 29.45 kB / 433.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1256, allocations: 3.938 kB / 433.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1256, allocations: 4.062 kB / 433.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1256, allocations: 4 kB / 433.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.1259, allocations: 245.6 kB / 433.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1259, allocations: 0 / 433.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.1261, allocations: 55.89 kB / 433.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1261, allocations: 0 / 433.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.1262, allocations: 7.938 kB / 433.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1262, allocations: 4 kB / 433.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1262, allocations: 0 / 433.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1267, allocations: 415.2 kB / 434 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1268, allocations: 85.06 kB / 434.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.1268, allocations: 15.88 kB / 434.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1269, allocations: 4.031 kB / 434.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.127, allocations: 15.92 kB / 434.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.127, allocations: 4 kB / 434.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1271, allocations: 128.2 kB / 434.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1271, allocations: 4 kB / 434.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001733/0.1288, allocations: 0.5077 MB / 434.8 MB, free: 10.98 MB / 366.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.001986/0.1308, allocations: 1.4 MB / 436.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.1315, allocations: 382.4 kB / 436.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1315, allocations: 0 / 436.5 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.1317, allocations: 83.83 kB / 436.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.132, allocations: 27.98 kB / 436.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.1353, allocations: 2.461 MB / 439.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1356, allocations: 0.7319 MB / 439.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1357, allocations: 29.06 kB / 439.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.1358, allocations: 43.42 kB / 439.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1358, allocations: 4 kB / 439.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2322/0.368, allocations: 9.919 MB / 449.8 MB, free: 25.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.94, allocations: 1.859 kB / 449.8 MB, free: 25.42 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/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: 13.442300600931048]