Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001274/0.001274, allocations: 124.6 kB / 17.75 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.001267/0.001267, allocations: 186.9 kB / 20.67 MB, free: 2.371 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.427/1.427, allocations: 222.9 MB / 246.4 MB, free: 4.203 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 357.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09629, allocations: 49.44 MB / 406.9 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006514/0.1028, allocations: 5.617 MB / 412.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.1053, allocations: 1.417 MB / 414 MB, free: 296 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.1056, allocations: 19.94 kB / 414 MB, free: 276 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.1061, allocations: 198.3 kB / 414.2 MB, free: 76 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007399/0.1069, allocations: 376.8 kB / 414.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.1074, allocations: 267.6 kB / 414.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1089, allocations: 1.362 MB / 416.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.1095, allocations: 407.1 kB / 416.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005688/0.11, allocations: 0.5138 MB / 417.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.1107, allocations: 0.5874 MB / 417.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1109, allocations: 116 kB / 417.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.1112, allocations: 120 kB / 417.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.1114, allocations: 255.1 kB / 418.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006383/0.112, allocations: 0.6144 MB / 418.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.1135, allocations: 1.405 MB / 420.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1135, allocations: 0 / 420.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1136, allocations: 4 kB / 420.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.1136, allocations: 0 / 420.2 MB, free: 10.03 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002744/0.1163, allocations: 1.508 MB / 421.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1164, allocations: 11.97 kB / 421.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.1166, allocations: 136.6 kB / 421.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.1168, allocations: 132.2 kB / 421.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1178, allocations: 0.6466 MB / 422.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.1181, allocations: 151.6 kB / 422.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.1182, allocations: 72.38 kB / 422.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1198, allocations: 0.9821 MB / 423.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.1198, allocations: 0 / 423.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.934e-05/0.1199, allocations: 36 kB / 423.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.1199, allocations: 20 kB / 423.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.1214, allocations: 0.6285 MB / 424.5 MB, free: 5.465 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.004222/0.1256, allocations: 2.664 MB / 427.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.1283, allocations: 0.8732 MB / 428 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.1291, allocations: 354.6 kB / 428.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.837e-05/0.1292, allocations: 16.62 kB / 428.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.1293, allocations: 51.22 kB / 428.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.514e-06/0.1293, allocations: 0 / 428.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.1886/0.3179, allocations: 1.401 MB / 429.8 MB, free: 22.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/0.3181, allocations: 0.9506 MB / 430.8 MB, free: 21.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000973/0.3191, allocations: 0.7903 MB / 431.6 MB, free: 20.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.3193, allocations: 43.27 kB / 431.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.3195, allocations: 417 kB / 432 MB, free: 20.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.3197, allocations: 264.9 kB / 432.3 MB, free: 20.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.32, allocations: 157.2 kB / 432.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.32, allocations: 340.6 kB / 432.8 MB, free: 20.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.3206, allocations: 258.4 kB / 433 MB, free: 20.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007316/0.3213, allocations: 0.5829 MB / 433.6 MB, free: 20.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3224, allocations: 0.6651 MB / 434.3 MB, free: 19.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.3225, allocations: 1.25 kB / 434.3 MB, free: 19.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001643/0.3241, allocations: 0.9556 MB / 435.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.3242, allocations: 86.47 kB / 435.3 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3242, allocations: 0 / 435.3 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.3246, allocations: 128.1 kB / 435.4 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.3253, allocations: 150.4 kB / 435.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/0.3297, allocations: 7.327 MB / 442.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.3308, allocations: 101 kB / 443 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/0.3309, allocations: 27.67 kB / 443 MB, free: 12.84 MB / 350.1 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.0004202/0.3313, allocations: 240.1 kB / 443.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.3315, allocations: 113.5 kB / 443.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3317, allocations: 104.3 kB / 443.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.3317, allocations: 7.344 kB / 443.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.3317, allocations: 0.6094 kB / 443.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/0.333, allocations: 0.9754 MB / 444.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.336, allocations: 1.749 MB / 446.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.336, allocations: 2.406 kB / 446.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007639/0.3367, allocations: 159.2 kB / 446.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.3369, allocations: 24.97 kB / 446.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.3369, allocations: 13.44 kB / 446.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000714/0.3376, allocations: 1.404 MB / 447.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3377, allocations: 0.6562 kB / 447.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.3397, allocations: 1.083 MB / 448.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.3401, allocations: 263.8 kB / 449.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3403, allocations: 19.17 kB / 449.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.3409, allocations: 42.91 kB / 449.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3411, allocations: 42.28 kB / 449.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.3411, allocations: 26.31 kB / 449.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006811/0.3418, allocations: 0.5459 MB / 449.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3418, allocations: 0 / 449.8 MB, free: 9.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008227/0.3426, allocations: 300.6 kB / 450.1 MB, free: 9.832 MB / 350.1 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.002144/0.3448, allocations: 1.653 MB / 451.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3468, allocations: 1.396 MB / 453.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.3468, allocations: 8.875 kB / 453.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.3475, allocations: 429.9 kB / 453.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3488, allocations: 276.5 kB / 453.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.3602, allocations: 7.851 MB / 461.7 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.3607, allocations: 0.9855 MB / 462.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006939/0.3614, allocations: 130.5 kB / 462.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.3618, allocations: 359.4 kB / 463.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3619, allocations: 0 / 463.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07081/0.4327, allocations: 26.28 MB / 489.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.18, allocations: 2.812 kB / 489.5 MB, free: 12.79 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.71150534192566]