Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001233/0.001233, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001275/0.001275, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9083/0.9083, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.948e-05, allocations: 12.89 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003972/0.003991, allocations: 4.991 MB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.00588, allocations: 1.413 MB / 331 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.006166, allocations: 15.88 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.00651, allocations: 194.3 kB / 331.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.007029, allocations: 416.4 kB / 331.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.007379, allocations: 259.5 kB / 331.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009551/0.008334, allocations: 1.425 MB / 333.3 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.008646, allocations: 267.6 kB / 333.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.009281, allocations: 0.7912 MB / 334.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.009687, allocations: 430.8 kB / 334.7 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.0098, allocations: 116 kB / 334.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.009914, allocations: 120 kB / 335 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.01004, allocations: 267.1 kB / 335.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.01034, allocations: 447.1 kB / 335.7 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008838/0.01122, allocations: 1.452 MB / 337.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01122, allocations: 8 kB / 337.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01122, allocations: 0 / 337.1 MB, free: 3.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.01124, allocations: 0 / 337.1 MB, free: 3.18 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.001619/0.01286, allocations: 1.428 MB / 338.6 MB, free: 1.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.0129, allocations: 8.031 kB / 338.6 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/0.01306, allocations: 144.6 kB / 338.7 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.0132, allocations: 136.2 kB / 338.8 MB, free: 1.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.01389, allocations: 0.5699 MB / 339.4 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.01406, allocations: 309.9 kB / 339.7 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.01413, allocations: 72.38 kB / 339.8 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.01533, allocations: 1.869 MB / 341.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.01535, allocations: 192 / 341.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.0154, allocations: 35.94 kB / 341.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.01541, allocations: 16 kB / 341.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008184/0.01623, allocations: 0.6246 MB / 342.3 MB, free: 13.5 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.002437/0.01867, allocations: 1.98 MB / 344.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.02005, allocations: 0.7663 MB / 345.1 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.02049, allocations: 314.7 kB / 345.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.02053, allocations: 20.58 kB / 345.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.02056, allocations: 55.16 kB / 345.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 1.884e-06/0.02056, allocations: 0 / 345.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.001457/0.02202, allocations: 1.029 MB / 346.5 MB, free: 9.246 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002552/0.02227, allocations: 0.945 MB / 347.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.02291, allocations: 0.7942 MB / 348.2 MB, free: 7.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.02296, allocations: 45.7 kB / 348.3 MB, free: 7.223 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.02318, allocations: 417 kB / 348.7 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.02332, allocations: 261.7 kB / 348.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.02347, allocations: 154.7 kB / 349.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.02356, allocations: 333.9 kB / 349.4 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.02394, allocations: 343 kB / 349.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.02474, allocations: 1.542 MB / 351.3 MB, free: 3.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.02548, allocations: 0.6678 MB / 351.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02548, allocations: 0 / 351.9 MB, free: 3.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001061/0.02654, allocations: 1.031 MB / 353 MB, free: 2.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.02659, allocations: 90.97 kB / 353.1 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.0266, allocations: 4 kB / 353.1 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.02681, allocations: 128.2 kB / 353.2 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.02716, allocations: 147.8 kB / 353.3 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.03059, allocations: 6.778 MB / 360.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.031, allocations: 103.4 kB / 360.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.03104, allocations: 28 kB / 360.2 MB, free: 10.14 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.0002487/0.03129, allocations: 245.6 kB / 360.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.03139, allocations: 107.4 kB / 360.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/0.03148, allocations: 100.9 kB / 360.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.03149, allocations: 8 kB / 360.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.03149, allocations: 0 / 360.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00084/0.03233, allocations: 0.966 MB / 361.7 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.03401, allocations: 1.553 MB / 363.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03401, allocations: 0 / 363.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.03439, allocations: 167.8 kB / 363.4 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.605e-05/0.03445, allocations: 24.84 kB / 363.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.03447, allocations: 12 kB / 363.4 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005478/0.03502, allocations: 1.296 MB / 364.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.03502, allocations: 0 / 364.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.03625, allocations: 1.09 MB / 365.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.0365, allocations: 187.1 kB / 366 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.03657, allocations: 20 kB / 366 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.03689, allocations: 39.97 kB / 366 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.03695, allocations: 44.56 kB / 366.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.03698, allocations: 20 kB / 366.1 MB, free: 3.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004483/0.03742, allocations: 0.5536 MB / 366.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03742, allocations: 0 / 366.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004643/0.03789, allocations: 295.8 kB / 366.9 MB, free: 3.113 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.00153/0.03942, allocations: 1.653 MB / 368.6 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.04072, allocations: 1.426 MB / 370 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.04073, allocations: 4 kB / 370 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004562/0.04118, allocations: 402.2 kB / 370.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.04184, allocations: 275.4 kB / 370.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/0.05002, allocations: 8.155 MB / 378.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.05027, allocations: 394.2 kB / 379.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003415/0.05061, allocations: 131.5 kB / 379.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.05093, allocations: 356.4 kB / 379.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05093, allocations: 4 kB / 379.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.09308, allocations: 29.43 MB / 409.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/8.781, allocations: 2.969 kB / 409.1 MB, free: 8.949 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.544806245714426]