Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.0008216/0.0008216, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008057/0.0008057, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8878/0.8878, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.094e-05, allocations: 2.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004489/0.00451, allocations: 4.989 MB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.007037, allocations: 1.409 MB / 330.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.007436, allocations: 15.94 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.007833, allocations: 198.3 kB / 331.1 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006336/0.008467, allocations: 412.4 kB / 331.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.008888, allocations: 267.5 kB / 331.8 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.009982, allocations: 1.42 MB / 333.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.01034, allocations: 271.6 kB / 333.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006846/0.01102, allocations: 0.7835 MB / 334.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.01145, allocations: 438.8 kB / 334.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.01157, allocations: 120 kB / 334.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.01169, allocations: 120 kB / 334.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.01183, allocations: 255.1 kB / 335.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.01216, allocations: 459 kB / 335.6 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.01313, allocations: 1.456 MB / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01314, allocations: 0 / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01314, allocations: 0 / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.026e-05/0.01316, allocations: 0 / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001713/0.01487, allocations: 1.425 MB / 338.5 MB, free: 1.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.01492, allocations: 15.98 kB / 338.5 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.01509, allocations: 140.5 kB / 338.6 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.01525, allocations: 132.2 kB / 338.8 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.01601, allocations: 0.5816 MB / 339.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.01619, allocations: 305.9 kB / 339.7 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.01626, allocations: 68.38 kB / 339.7 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.01751, allocations: 1.865 MB / 341.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.01753, allocations: 4.172 kB / 341.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.01762, allocations: 39.94 kB / 341.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01763, allocations: 16 kB / 341.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.01852, allocations: 0.6285 MB / 342.3 MB, free: 13.56 MB / 314.7 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.002659/0.02118, allocations: 1.98 MB / 344.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.02262, allocations: 0.7498 MB / 345 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.02308, allocations: 315.5 kB / 345.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.02312, allocations: 16.64 kB / 345.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.02315, allocations: 51.16 kB / 345.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.125e-06/0.02316, allocations: 0 / 345.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001559/0.02472, allocations: 1.028 MB / 346.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/0.02498, allocations: 0.9489 MB / 347.4 MB, free: 8.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/0.02565, allocations: 0.7942 MB / 348.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.02571, allocations: 45.7 kB / 348.2 MB, free: 7.301 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.02594, allocations: 429 kB / 348.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.02609, allocations: 253.7 kB / 348.9 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.02627, allocations: 156.5 kB / 349 MB, free: 6.469 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.02636, allocations: 337.9 kB / 349.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.02676, allocations: 339 kB / 349.7 MB, free: 5.781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008469/0.02761, allocations: 1.546 MB / 351.2 MB, free: 3.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.02838, allocations: 0.6639 MB / 351.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.02839, allocations: 0 / 351.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001164/0.02955, allocations: 1.038 MB / 352.9 MB, free: 2.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.0296, allocations: 89.11 kB / 353 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.02961, allocations: 0 / 353 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.02986, allocations: 124.2 kB / 353.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.03022, allocations: 159.7 kB / 353.3 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.03394, allocations: 6.766 MB / 360.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.03445, allocations: 111.4 kB / 360.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.03448, allocations: 20 kB / 360.2 MB, free: 10.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003263/0.03481, allocations: 245.6 kB / 360.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.03491, allocations: 103.4 kB / 360.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.03502, allocations: 104.9 kB / 360.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.03503, allocations: 11.94 kB / 360.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.03504, allocations: 0 / 360.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009731/0.03601, allocations: 0.9738 MB / 361.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.03798, allocations: 1.553 MB / 363.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03799, allocations: 0 / 363.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.03838, allocations: 155.8 kB / 363.3 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.339e-05/0.03845, allocations: 24.84 kB / 363.3 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.03849, allocations: 12 kB / 363.4 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005979/0.03908, allocations: 1.303 MB / 364.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03909, allocations: 4 kB / 364.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.04036, allocations: 1.082 MB / 365.7 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.04066, allocations: 187 kB / 365.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.04074, allocations: 20 kB / 365.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/0.04108, allocations: 39.97 kB / 366 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.04115, allocations: 52.56 kB / 366 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.04117, allocations: 16 kB / 366.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007675/0.04194, allocations: 0.5498 MB / 366.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04194, allocations: 0 / 366.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000589/0.04253, allocations: 291.8 kB / 366.9 MB, free: 3.188 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.04405, allocations: 1.653 MB / 368.5 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.04563, allocations: 1.438 MB / 370 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.04563, allocations: 0 / 370 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004583/0.04609, allocations: 406.2 kB / 370.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.04687, allocations: 275.4 kB / 370.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/0.05597, allocations: 8.152 MB / 378.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.05624, allocations: 394.2 kB / 379.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.05662, allocations: 123.5 kB / 379.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.05695, allocations: 360.4 kB / 379.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05695, allocations: 0 / 379.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.1056, allocations: 29.4 MB / 409.1 MB, free: 9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/8.878, allocations: 7.891 kB / 409.1 MB, free: 8.992 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.589292009361088]