Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002042/0.002042, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 59.91 kB / 373 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09399, allocations: 53.37 MB / 426.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004804/0.09879, allocations: 3.535 MB / 429.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1005, allocations: 0.9697 MB / 430.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1007, allocations: 11.94 kB / 430.9 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.101, allocations: 119.1 kB / 431 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.1014, allocations: 182.4 kB / 431.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.1017, allocations: 123.8 kB / 431.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.1024, allocations: 0.6378 MB / 431.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1027, allocations: 142.8 kB / 432.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.1029, allocations: 243.1 kB / 432.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1033, allocations: 274.8 kB / 432.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.073e-05/0.1034, allocations: 52 kB / 432.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1035, allocations: 56 kB / 432.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1036, allocations: 111.6 kB / 432.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.1039, allocations: 294.6 kB / 433.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.1046, allocations: 0.6497 MB / 433.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1046, allocations: 8 kB / 433.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1046, allocations: 0 / 433.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1046, allocations: 0 / 433.7 MB, free: 13.21 MB / 366.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.001435/0.106, allocations: 0.858 MB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1061, allocations: 8.031 kB / 434.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.1062, allocations: 83.67 kB / 434.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1063, allocations: 60.61 kB / 434.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.1069, allocations: 399.3 kB / 435.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.1071, allocations: 63.25 kB / 435.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.1071, allocations: 28.38 kB / 435.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.1079, allocations: 478 kB / 435.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1079, allocations: 3.938 kB / 435.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.1079, allocations: 16 kB / 435.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.108, allocations: 8 kB / 435.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.1086, allocations: 283.8 kB / 436 MB, free: 10.79 MB / 366.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.002252/0.1108, allocations: 1.304 MB / 437.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.1121, allocations: 416.5 kB / 437.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.1124, allocations: 124.8 kB / 437.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1124, allocations: 15.92 kB / 437.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.1124, allocations: 38.56 kB / 437.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.1124, allocations: 0 / 437.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001249/0.1137, allocations: 0.6065 MB / 438.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002559/0.1139, allocations: 445 kB / 438.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.1145, allocations: 461.8 kB / 439.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.1145, allocations: 33.7 kB / 439.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1147, allocations: 240.7 kB / 439.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.1149, allocations: 118.9 kB / 439.7 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.115, allocations: 74.03 kB / 439.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1152, allocations: 354.8 kB / 440.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.1155, allocations: 104.6 kB / 440.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.1159, allocations: 252.2 kB / 440.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.1164, allocations: 277.2 kB / 440.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1164, allocations: 8 kB / 440.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000787/0.1172, allocations: 416.6 kB / 441.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.1172, allocations: 33.7 kB / 441.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1172, allocations: 0 / 441.2 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.1174, allocations: 53.62 kB / 441.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.1177, allocations: 67.94 kB / 441.3 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.1206, allocations: 2.969 MB / 444.3 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.121, allocations: 43.77 kB / 444.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.121, allocations: 12 kB / 444.4 MB, free: 1.695 MB / 366.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.0002192/0.1212, allocations: 165.8 kB / 444.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1213, allocations: 51.67 kB / 444.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.1214, allocations: 56.62 kB / 444.6 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1214, allocations: 4 kB / 444.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1214, allocations: 4 kB / 444.6 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007714/0.1222, allocations: 0.6492 MB / 445.3 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1701/0.2923, allocations: 0.9028 MB / 446.2 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2923, allocations: 1.188 kB / 446.2 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.2927, allocations: 67.47 kB / 446.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.2927, allocations: 4.625 kB / 446.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2927, allocations: 7.781 kB / 446.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2927, allocations: 2.734 kB / 446.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2927, allocations: 0.875 kB / 446.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/0.2937, allocations: 0.5185 MB / 446.8 MB, free: 24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.2939, allocations: 165.4 kB / 447 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.294, allocations: 7.688 kB / 447 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2943, allocations: 20.8 kB / 447 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.2944, allocations: 16.91 kB / 447 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.2944, allocations: 10.36 kB / 447 MB, free: 23.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.2948, allocations: 320.7 kB / 447.3 MB, free: 23.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2948, allocations: 0.9688 kB / 447.3 MB, free: 23.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.2953, allocations: 134.9 kB / 447.5 MB, free: 23.82 MB / 366.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.0009451/0.2963, allocations: 1.074 MB / 448.5 MB, free: 23.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.2971, allocations: 0.5548 MB / 449.1 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.2971, allocations: 1.875 kB / 449.1 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.2974, allocations: 121.2 kB / 449.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.298, allocations: 130.7 kB / 449.3 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.3034, allocations: 4.255 MB / 453.6 MB, free: 20.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3037, allocations: 0.82 MB / 454.4 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002528/0.3039, allocations: 61.95 kB / 454.5 MB, free: 20.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3041, allocations: 161.7 kB / 454.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3041, allocations: 1.375 kB / 454.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.3481, allocations: 12.82 MB / 467.5 MB, free: 16.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.52, allocations: 9.359 kB / 467.5 MB, free: 16.8 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.10472279402893]