Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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: 114.5 kB / 17.78 MB, free: 5.289 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.00138/0.00138, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.429/1.429, 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.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 47.92 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1027, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004502/0.1072, allocations: 2.874 MB / 420.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1094, allocations: 1.266 MB / 421.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1095, allocations: 11.88 kB / 421.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.11, allocations: 171.2 kB / 422.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.1105, allocations: 210.8 kB / 422.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.1109, allocations: 178.1 kB / 422.5 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.1115, allocations: 453.9 kB / 422.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.1116, allocations: 63.52 kB / 423 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.1119, allocations: 195.3 kB / 423.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1122, allocations: 215.1 kB / 423.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.1122, allocations: 32 kB / 423.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1124, allocations: 67.97 kB / 423.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1125, allocations: 87.62 kB / 423.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.1127, allocations: 191 kB / 423.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.1133, allocations: 486 kB / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1133, allocations: 0 / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1133, allocations: 0 / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.1133, allocations: 3.984 kB / 424.2 MB, free: 6.145 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00112/0.1144, allocations: 0.7198 MB / 424.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1145, allocations: 8.031 kB / 424.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.1146, allocations: 55.17 kB / 425 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.1147, allocations: 48.66 kB / 425 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.1152, allocations: 354.9 kB / 425.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1152, allocations: 16.81 kB / 425.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.1153, allocations: 27.94 kB / 425.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.1158, allocations: 305.5 kB / 425.7 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1158, allocations: 3.938 kB / 425.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1158, allocations: 8 kB / 425.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1159, allocations: 8 kB / 425.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.1162, allocations: 149.7 kB / 425.9 MB, free: 4.324 MB / 350.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.001428/0.1176, allocations: 0.8361 MB / 426.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.118, allocations: 179.1 kB / 426.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1182, allocations: 64.84 kB / 427 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.1182, allocations: 11.92 kB / 427 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1185, allocations: 131.3 kB / 427.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.833e-06/0.1185, allocations: 0 / 427.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009391/0.1194, allocations: 408.1 kB / 427.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/0.1196, allocations: 312.4 kB / 427.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.1201, allocations: 437.6 kB / 428.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.1202, allocations: 33.7 kB / 428.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1203, allocations: 204.4 kB / 428.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.1204, allocations: 87.25 kB / 428.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1205, allocations: 57.7 kB / 428.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1207, allocations: 346.8 kB / 429 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1209, allocations: 67.97 kB / 429 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1211, allocations: 179.9 kB / 429.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1214, allocations: 179.9 kB / 429.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1214, allocations: 0 / 429.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005071/0.1219, allocations: 266.1 kB / 429.6 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1219, allocations: 4 kB / 429.6 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.122, allocations: 7.984 kB / 429.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.1221, allocations: 32.84 kB / 429.7 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.1223, allocations: 55.91 kB / 429.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.1241, allocations: 1.571 MB / 431.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.1243, allocations: 27.88 kB / 431.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.1243, allocations: 12 kB / 431.3 MB, free: 14.43 MB / 366.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.0002115/0.1245, allocations: 167.8 kB / 431.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.1246, allocations: 47.66 kB / 431.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/0.1247, allocations: 43.59 kB / 431.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1247, allocations: 7.984 kB / 431.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1247, allocations: 0 / 431.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005796/0.1253, allocations: 0.582 MB / 432.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.1263, allocations: 0.6963 MB / 432.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1263, allocations: 4 kB / 432.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.1265, allocations: 47.91 kB / 432.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1265, allocations: 8.172 kB / 432.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1265, allocations: 4 kB / 432.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1265, allocations: 0 / 432.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1265, allocations: 0 / 432.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.1272, allocations: 418 kB / 433.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1273, allocations: 136.8 kB / 433.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.1274, allocations: 8 kB / 433.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.1276, allocations: 11.98 kB / 433.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.1276, allocations: 15.98 kB / 433.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.1277, allocations: 4 kB / 433.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003623/0.128, allocations: 319.1 kB / 433.8 MB, free: 11.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.128, allocations: 4.062 kB / 433.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004313/0.1284, allocations: 99.88 kB / 433.9 MB, free: 11.64 MB / 366.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.002363/0.1308, allocations: 1.253 MB / 435.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006966/0.1315, allocations: 310.7 kB / 435.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.1315, allocations: 3.938 kB / 435.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1317, allocations: 71.17 kB / 435.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.1323, allocations: 97.62 kB / 435.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.1377, allocations: 3.363 MB / 439 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.1382, allocations: 0.7999 MB / 439.8 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.1384, allocations: 54.86 kB / 439.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.1386, allocations: 123.4 kB / 440 MB, free: 5.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1386, allocations: 0 / 440 MB, free: 5.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/0.3535, allocations: 10.24 MB / 450.2 MB, free: 29.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.68, allocations: 6.75 kB / 450.2 MB, free: 29.97 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.H from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! Error: Could not read variable openTank.m in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv. Warning: Get data of variable openTank.m from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.2450712621212]