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.00136/0.00136, allocations: 114.5 kB / 18.45 MB, free: 4.609 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.001351/0.001351, allocations: 216.3 kB / 21.41 MB, free: 1.648 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.476/1.476, allocations: 207.6 MB / 231.8 MB, free: 4.062 MB / 174.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.001701/0.001701, allocations: 52.41 kB / 342.3 MB, free: 10.13 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09995, allocations: 49.13 MB / 391.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.004172/0.1041, allocations: 2.772 MB / 394.2 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1056, allocations: 0.8768 MB / 395 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1057, allocations: 0 / 395 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.106, allocations: 71.42 kB / 395.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1063, allocations: 138.9 kB / 395.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1065, allocations: 91.83 kB / 395.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.107, allocations: 442.4 kB / 395.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1072, allocations: 67.23 kB / 395.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1073, allocations: 163.4 kB / 396 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1076, allocations: 183.2 kB / 396.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.1077, allocations: 36 kB / 396.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.1077, allocations: 36 kB / 396.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-05/0.1078, allocations: 79.69 kB / 396.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.108, allocations: 191.1 kB / 396.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.1085, allocations: 442.2 kB / 396.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1085, allocations: 0 / 396.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1085, allocations: 0 / 396.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1085, allocations: 0 / 396.9 MB, free: 3.262 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.00116/0.1097, allocations: 0.6909 MB / 397.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1097, allocations: 12.03 kB / 397.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001021/0.1098, allocations: 67.23 kB / 397.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.56e-05/0.1099, allocations: 44.7 kB / 397.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1104, allocations: 307.6 kB / 398.1 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.1105, allocations: 50.81 kB / 398.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.1105, allocations: 28.38 kB / 398.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.1111, allocations: 339.2 kB / 398.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1111, allocations: 4 kB / 398.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.1111, allocations: 12 kB / 398.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1111, allocations: 4 kB / 398.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.1116, allocations: 210.1 kB / 398.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1131, allocations: 0.8189 MB / 399.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000573/0.1136, allocations: 251 kB / 399.8 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1139, allocations: 108.8 kB / 399.9 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.1139, allocations: 4.094 kB / 399.9 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.1139, allocations: 42.5 kB / 399.9 MB, free: 80 kB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.242e-06/0.1139, allocations: 0 / 399.9 MB, free: 80 kB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001142/0.1151, allocations: 487.4 kB / 400.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.1153, allocations: 312.4 kB / 400.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1156, allocations: 283 kB / 401 MB, free: 14.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1156, allocations: 29.7 kB / 401 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.1158, allocations: 184.7 kB / 401.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.1159, allocations: 111 kB / 401.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.116, allocations: 73.69 kB / 401.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1161, allocations: 342.8 kB / 401.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1164, allocations: 87.95 kB / 401.8 MB, free: 14.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.1167, allocations: 216.2 kB / 402 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/0.1172, allocations: 254.7 kB / 402.2 MB, free: 13.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.1172, allocations: 4 kB / 402.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006986/0.1179, allocations: 368.9 kB / 402.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.1179, allocations: 33.8 kB / 402.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1179, allocations: 3.938 kB / 402.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001853/0.1181, allocations: 40.84 kB / 402.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.1191, allocations: 159.9 kB / 402.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004302/0.1234, allocations: 3.229 MB / 406.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1238, allocations: 35.81 kB / 406.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1238, allocations: 12 kB / 406.1 MB, free: 9.379 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.0002262/0.124, allocations: 161.7 kB / 406.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.337e-05/0.1241, allocations: 35.81 kB / 406.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.1242, allocations: 35.08 kB / 406.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1242, allocations: 4 kB / 406.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1242, allocations: 3.938 kB / 406.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007821/0.125, allocations: 0.651 MB / 407 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.1255, allocations: 397.2 kB / 407.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1255, allocations: 0 / 407.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.1268, allocations: 211.7 kB / 407.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-05/0.1269, allocations: 20.84 kB / 407.6 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.1269, allocations: 8.188 kB / 407.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003515/0.1304, allocations: 3.045 MB / 410.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1304, allocations: 3.938 kB / 410.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.1313, allocations: 0.5159 MB / 411.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.1315, allocations: 136.9 kB / 411.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.1315, allocations: 8 kB / 411.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.1318, allocations: 19.92 kB / 411.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/0.1319, allocations: 19.97 kB / 411.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.1319, allocations: 12.23 kB / 411.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.1321, allocations: 198 kB / 411.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1321, allocations: 7.938 kB / 411.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.1326, allocations: 107.9 kB / 411.7 MB, free: 3.316 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.001238/0.1338, allocations: 1.049 MB / 412.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1355, allocations: 0.5299 MB / 413.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1355, allocations: 0 / 413.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.1369, allocations: 394.3 kB / 413.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1374, allocations: 100.3 kB / 413.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.1426, allocations: 3.4 MB / 417.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.1431, allocations: 0.7723 MB / 417.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1432, allocations: 42.95 kB / 418 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.1434, allocations: 107.4 kB / 418.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1434, allocations: 0 / 418.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05098/0.1944, allocations: 9.681 MB / 427.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.23, allocations: 9.562 kB / 427.8 MB, free: 2.977 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.931624842007295]