Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001591/0.001591, allocations: 115.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.002025/0.002025, allocations: 215.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.521/1.521, 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.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.001709/0.001709, allocations: 52.88 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09929/0.101, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004906/0.1059, allocations: 2.866 MB / 394.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1083, allocations: 1.193 MB / 395.5 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.1086, allocations: 7.938 kB / 395.5 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005853/0.1092, allocations: 183.1 kB / 395.6 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.1097, allocations: 206.8 kB / 395.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.1102, allocations: 151.7 kB / 396 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.1108, allocations: 457.9 kB / 396.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1109, allocations: 63.5 kB / 396.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.1112, allocations: 187.3 kB / 396.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.1115, allocations: 215.1 kB / 396.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.587e-05/0.1116, allocations: 32 kB / 396.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1117, allocations: 71.98 kB / 397 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.1118, allocations: 87.67 kB / 397.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1121, allocations: 202.9 kB / 397.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006484/0.1127, allocations: 486 kB / 397.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1127, allocations: 0 / 397.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1127, allocations: 0 / 397.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.1127, allocations: 0 / 397.8 MB, free: 2.332 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001241/0.114, allocations: 0.7043 MB / 398.5 MB, free: 1.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.114, allocations: 8.031 kB / 398.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.1141, allocations: 71.05 kB / 398.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1142, allocations: 48.66 kB / 398.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005742/0.1148, allocations: 343 kB / 398.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.1148, allocations: 20.75 kB / 398.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.1149, allocations: 27.89 kB / 399 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.1154, allocations: 297.5 kB / 399.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1155, allocations: 0 / 399.3 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.1155, allocations: 15.94 kB / 399.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1155, allocations: 8 kB / 399.3 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.1158, allocations: 153.6 kB / 399.4 MB, free: 0.5156 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1173, allocations: 0.8361 MB / 400.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.1177, allocations: 175.2 kB / 400.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.1179, allocations: 72.77 kB / 400.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1179, allocations: 11.92 kB / 400.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1182, allocations: 139.1 kB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.1182, allocations: 0 / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009499/0.1191, allocations: 407.1 kB / 401.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.1194, allocations: 316.4 kB / 401.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.12, allocations: 429.7 kB / 401.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.12, allocations: 29.7 kB / 401.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.1202, allocations: 212.4 kB / 402 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.1203, allocations: 71.34 kB / 402.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1204, allocations: 65.69 kB / 402.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.1206, allocations: 346.8 kB / 402.5 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1207, allocations: 59.98 kB / 402.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.121, allocations: 184 kB / 402.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.1213, allocations: 175.2 kB / 402.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1213, allocations: 0 / 402.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005217/0.1219, allocations: 278.1 kB / 403.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1219, allocations: 4 kB / 403.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1219, allocations: 4 kB / 403.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.122, allocations: 36.78 kB / 403.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.1223, allocations: 51.91 kB / 403.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.1241, allocations: 1.578 MB / 404.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1243, allocations: 27.83 kB / 404.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1243, allocations: 12.03 kB / 404.9 MB, free: 10.62 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.1245, allocations: 166 kB / 405 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.1246, allocations: 51.64 kB / 405.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.1247, allocations: 39.59 kB / 405.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1247, allocations: 4 kB / 405.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1247, allocations: 0 / 405.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006391/0.1253, allocations: 0.5789 MB / 405.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.1263, allocations: 0.7011 MB / 406.4 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1263, allocations: 4 kB / 406.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.1265, allocations: 39.98 kB / 406.5 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1265, allocations: 4 kB / 406.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.1266, allocations: 7.984 kB / 406.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1266, allocations: 96 / 406.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1266, allocations: 7.875 kB / 406.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006168/0.1272, allocations: 407 kB / 406.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1274, allocations: 148.9 kB / 407 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.1274, allocations: 8 kB / 407 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.1276, allocations: 8 kB / 407 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.1277, allocations: 15.97 kB / 407.1 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1277, allocations: 8 kB / 407.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003739/0.1281, allocations: 315.1 kB / 407.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1281, allocations: 0 / 407.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.1285, allocations: 91.89 kB / 407.5 MB, free: 7.832 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00238/0.1309, allocations: 1.252 MB / 408.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.1315, allocations: 306.3 kB / 409 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1315, allocations: 192 / 409 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.1317, allocations: 80.31 kB / 409.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.1323, allocations: 109.8 kB / 409.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004828/0.1371, allocations: 3.36 MB / 412.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.1376, allocations: 0.796 MB / 413.4 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1378, allocations: 46.94 kB / 413.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.138, allocations: 127.4 kB / 413.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.138, allocations: 4 kB / 413.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.1805, allocations: 10.24 MB / 423.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.2, allocations: 4 kB / 423.8 MB, free: 7.254 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable openTank.H in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.91532120500051]