Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001779/0.001779, allocations: 116.9 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.002171/0.002171, 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.546/1.546, allocations: 207.6 MB / 231.8 MB, free: 4.07 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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001738/0.001738, allocations: 52.5 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1049, allocations: 49.13 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005364/0.1103, allocations: 3.504 MB / 394.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1123, allocations: 0.9975 MB / 395.9 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.1125, allocations: 7.938 kB / 395.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.1128, allocations: 99.12 kB / 396 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004416/0.1133, allocations: 190.4 kB / 396.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1136, allocations: 123.8 kB / 396.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.1145, allocations: 0.6458 MB / 397 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.1148, allocations: 130.9 kB / 397.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1151, allocations: 243.1 kB / 397.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.1154, allocations: 270.9 kB / 397.6 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.1155, allocations: 52 kB / 397.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.1156, allocations: 55.94 kB / 397.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.1157, allocations: 127.5 kB / 397.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.116, allocations: 290.6 kB / 398.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.1167, allocations: 0.6536 MB / 398.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1167, allocations: 0 / 398.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1167, allocations: 0 / 398.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1167, allocations: 0 / 398.8 MB, free: 1.32 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001631/0.1183, allocations: 0.858 MB / 399.6 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.1184, allocations: 12.03 kB / 399.6 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.1185, allocations: 79.66 kB / 399.7 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1187, allocations: 64.56 kB / 399.8 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000719/0.1194, allocations: 399.3 kB / 400.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1195, allocations: 59.27 kB / 400.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.1196, allocations: 44.36 kB / 400.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.1204, allocations: 466 kB / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1204, allocations: 0 / 400.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1204, allocations: 20 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1204, allocations: 8 kB / 400.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006201/0.1211, allocations: 287.8 kB / 401 MB, free: 14.89 MB / 334.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.00241/0.1235, allocations: 1.3 MB / 402.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.1247, allocations: 429.3 kB / 402.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.125, allocations: 124.8 kB / 402.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.125, allocations: 7.984 kB / 402.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1251, allocations: 38.56 kB / 402.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.753e-06/0.1251, allocations: 4 kB / 402.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001445/0.1265, allocations: 0.6065 MB / 403.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003171/0.1268, allocations: 448.9 kB / 404 MB, free: 11.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.1275, allocations: 450 kB / 404.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.1275, allocations: 41.7 kB / 404.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1277, allocations: 236.6 kB / 404.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1278, allocations: 115 kB / 404.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.128, allocations: 74.02 kB / 404.9 MB, free: 10.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.1282, allocations: 358.8 kB / 405.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.1284, allocations: 104.6 kB / 405.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.1288, allocations: 252.1 kB / 405.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00056/0.1294, allocations: 280.6 kB / 405.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.1294, allocations: 0 / 405.8 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008552/0.1303, allocations: 421.2 kB / 406.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/0.1303, allocations: 33.84 kB / 406.3 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1303, allocations: 3.984 kB / 406.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.1306, allocations: 53.73 kB / 406.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.1309, allocations: 79.8 kB / 406.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.1342, allocations: 2.961 MB / 409.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.1347, allocations: 43.8 kB / 409.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.1347, allocations: 12 kB / 409.4 MB, free: 5.801 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002601/0.135, allocations: 165.7 kB / 409.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.1351, allocations: 59.67 kB / 409.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1352, allocations: 56.62 kB / 409.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1352, allocations: 4 kB / 409.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1352, allocations: 0 / 409.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007941/0.136, allocations: 0.6425 MB / 410.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.1375, allocations: 0.9117 MB / 411.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1375, allocations: 0 / 411.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003717/0.1379, allocations: 71.89 kB / 411.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1379, allocations: 4 kB / 411.3 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.1379, allocations: 8 kB / 411.3 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1379, allocations: 3.984 kB / 411.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1379, allocations: 0 / 411.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1389, allocations: 0.5163 MB / 411.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.1391, allocations: 160.8 kB / 412 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.1392, allocations: 12.05 kB / 412 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.1395, allocations: 12 kB / 412 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1395, allocations: 27.91 kB / 412.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.1396, allocations: 8 kB / 412.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.14, allocations: 323.1 kB / 412.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.14, allocations: 0 / 412.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004919/0.1405, allocations: 131.9 kB / 412.5 MB, free: 2.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (32): * Single equations (assignments): 32 * 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.00137/0.1418, allocations: 1.08 MB / 413.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.143, allocations: 0.5436 MB / 414.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.143, allocations: 0 / 414.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.1432, allocations: 119.8 kB / 414.3 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.144, allocations: 141.8 kB / 414.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/0.1504, allocations: 4.248 MB / 418.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.1508, allocations: 0.8237 MB / 419.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.1511, allocations: 60.34 kB / 419.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.1514, allocations: 167.4 kB / 419.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1514, allocations: 0 / 419.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.1996, allocations: 12.82 MB / 432.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.62, allocations: 7.969 kB / 432.5 MB, free: 14.22 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.221919781994075]