Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001645/0.001645, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002505/0.002505, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2917, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003536/0.2952, allocations: 2.777 MB / 399.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2965, allocations: 0.8707 MB / 400 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2966, allocations: 7.312 kB / 400 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.2969, allocations: 71.56 kB / 400.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.2971, allocations: 145.1 kB / 400.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.2973, allocations: 89.97 kB / 400.3 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.2978, allocations: 434.4 kB / 400.7 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2979, allocations: 72.67 kB / 400.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.2981, allocations: 165.4 kB / 400.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.2983, allocations: 175.8 kB / 401.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.2984, allocations: 34.53 kB / 401.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.849e-05/0.2984, allocations: 39.12 kB / 401.2 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.2985, allocations: 80.08 kB / 401.3 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.2987, allocations: 191 kB / 401.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.2991, allocations: 443.2 kB / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2991, allocations: 1.375 kB / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2991, allocations: 0 / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.2992, allocations: 0 / 401.9 MB, free: 5.461 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009852/0.3001, allocations: 0.6184 MB / 402.5 MB, free: 4.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3002, allocations: 15 kB / 402.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.221e-05/0.3003, allocations: 63.52 kB / 402.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.3003, allocations: 49.03 kB / 402.6 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3007, allocations: 249.7 kB / 402.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.583e-05/0.3008, allocations: 108 kB / 403 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.3008, allocations: 35.5 kB / 403 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.3013, allocations: 335.6 kB / 403.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3013, allocations: 0 / 403.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3013, allocations: 12.59 kB / 403.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3013, allocations: 5.781 kB / 403.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.3017, allocations: 205.2 kB / 403.6 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.303, allocations: 0.7952 MB / 404.4 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.3036, allocations: 254.2 kB / 404.6 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3038, allocations: 103.9 kB / 404.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.3038, allocations: 4.391 kB / 404.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3038, allocations: 39.75 kB / 404.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.3038, allocations: 0 / 404.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009816/0.3048, allocations: 407.5 kB / 405.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3049, allocations: 319 kB / 405.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.3051, allocations: 277.1 kB / 405.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3052, allocations: 34.64 kB / 405.8 MB, free: 2.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.3052, allocations: 180.6 kB / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.3053, allocations: 111 kB / 406 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/0.3054, allocations: 72.61 kB / 406.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.3055, allocations: 342.1 kB / 406.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3057, allocations: 92.48 kB / 406.5 MB, free: 2.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3059, allocations: 217.2 kB / 406.8 MB, free: 2.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.3063, allocations: 259.9 kB / 407 MB, free: 1.887 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3063, allocations: 0.6562 kB / 407 MB, free: 1.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000577/0.3069, allocations: 364.2 kB / 407.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3069, allocations: 32.36 kB / 407.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.307, allocations: 0 / 407.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.3071, allocations: 40.81 kB / 407.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.3081, allocations: 164.9 kB / 407.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003335/0.3114, allocations: 3.026 MB / 410.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.3118, allocations: 40.22 kB / 410.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3118, allocations: 13.09 kB / 410.7 MB, free: 14.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.312, allocations: 152.3 kB / 410.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.3121, allocations: 35.06 kB / 410.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.3122, allocations: 38.03 kB / 410.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3122, allocations: 6.406 kB / 410.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3122, allocations: 5.375 kB / 410.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007562/0.3129, allocations: 0.6559 MB / 411.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.3135, allocations: 365.1 kB / 411.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3135, allocations: 3.938 kB / 411.9 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.3148, allocations: 207 kB / 412.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.092e-05/0.3149, allocations: 25.88 kB / 412.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.3149, allocations: 7.078 kB / 412.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003387/0.3183, allocations: 2.838 MB / 415 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3183, allocations: 0 / 415 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009168/0.3192, allocations: 0.5111 MB / 415.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.3194, allocations: 60.27 kB / 415.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3194, allocations: 6.766 kB / 415.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.3197, allocations: 20.64 kB / 415.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/0.3198, allocations: 23.25 kB / 415.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3198, allocations: 14.84 kB / 415.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.32, allocations: 201.6 kB / 415.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.32, allocations: 4 kB / 415.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000474/0.3205, allocations: 109.8 kB / 415.9 MB, free: 10.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001329/0.3218, allocations: 1.056 MB / 417 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.3235, allocations: 0.5231 MB / 417.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3235, allocations: 0 / 417.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.3249, allocations: 397.3 kB / 417.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.3254, allocations: 95.91 kB / 418 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.3308, allocations: 3.401 MB / 421.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.3313, allocations: 0.7795 MB / 422.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.3315, allocations: 38.08 kB / 422.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.3317, allocations: 106.9 kB / 422.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3317, allocations: 0 / 422.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0436/0.3753, allocations: 9.904 MB / 432.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.37, allocations: 11.91 kB / 432.2 MB, free: 14.14 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00029988 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoTanks/TwoTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank1.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank1.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank1.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! Error: Could not read variable openTank2.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv. Warning: Get data of variable openTank2.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.092823780003528]