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.001345/0.001345, allocations: 112 kB / 20.43 MB, free: 1.449 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.001459/0.001459, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001585/0.001585, allocations: 47.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 52.18 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006863/0.2489, allocations: 5.659 MB / 428.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.2517, allocations: 1.43 MB / 429.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.2522, allocations: 15.88 kB / 429.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.2528, allocations: 198.3 kB / 429.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008626/0.2537, allocations: 396.7 kB / 430.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2542, allocations: 267.6 kB / 430.6 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.2558, allocations: 1.358 MB / 431.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.2563, allocations: 263.8 kB / 432.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.2569, allocations: 0.5294 MB / 432.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.2577, allocations: 0.5874 MB / 433.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.2579, allocations: 116 kB / 433.4 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.2581, allocations: 120 kB / 433.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.2583, allocations: 263.1 kB / 433.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.2589, allocations: 0.6183 MB / 434.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.2604, allocations: 1.404 MB / 435.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2604, allocations: 0 / 435.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2604, allocations: 0 / 435.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.2605, allocations: 0 / 435.8 MB, free: 1.375 MB / 334.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.002789/0.2633, allocations: 1.44 MB / 437.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2633, allocations: 8.031 kB / 437.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.2635, allocations: 132.6 kB / 437.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2637, allocations: 136.2 kB / 437.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.2648, allocations: 0.5823 MB / 438.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.2651, allocations: 313.9 kB / 438.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2652, allocations: 68.38 kB / 438.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.2669, allocations: 0.987 MB / 439.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.2669, allocations: 7.938 kB / 439.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.267, allocations: 36 kB / 439.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.267, allocations: 16 kB / 439.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.2684, allocations: 0.6207 MB / 440.1 MB, free: 12.79 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.004594/0.273, allocations: 2.602 MB / 442.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.2754, allocations: 0.75 MB / 443.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.2761, allocations: 318.7 kB / 443.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.2762, allocations: 16.64 kB / 443.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.2762, allocations: 43.22 kB / 443.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.457e-06/0.2762, allocations: 8.328 kB / 443.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002567/0.2788, allocations: 1.029 MB / 444.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005009/0.2793, allocations: 0.9489 MB / 445.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.2804, allocations: 0.7864 MB / 446.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.2805, allocations: 45.7 kB / 446.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.2809, allocations: 429 kB / 447.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/0.2812, allocations: 261.7 kB / 447.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.2814, allocations: 158.6 kB / 447.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.2816, allocations: 341.9 kB / 447.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.2822, allocations: 253.9 kB / 448.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008994/0.2831, allocations: 0.5841 MB / 448.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.2843, allocations: 0.6638 MB / 449.3 MB, free: 2.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.2843, allocations: 8 kB / 449.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001895/0.2862, allocations: 0.9475 MB / 450.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.106e-05/0.2863, allocations: 92.48 kB / 450.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.2863, allocations: 0 / 450.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.2866, allocations: 124.2 kB / 450.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.2874, allocations: 155.8 kB / 450.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/0.2937, allocations: 6.816 MB / 457.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.2948, allocations: 111.4 kB / 457.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.2949, allocations: 28 kB / 457.6 MB, free: 10.06 MB / 366.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.0004564/0.2953, allocations: 229.7 kB / 457.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.2956, allocations: 111.3 kB / 458 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.2958, allocations: 100.9 kB / 458 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2958, allocations: 8 kB / 458.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2958, allocations: 4 kB / 458.1 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.2973, allocations: 0.9699 MB / 459 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.3003, allocations: 1.716 MB / 460.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.3003, allocations: 0 / 460.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007906/0.3011, allocations: 155.8 kB / 460.9 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.3012, allocations: 32.83 kB / 460.9 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.3012, allocations: 12 kB / 460.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.3024, allocations: 1.307 MB / 462.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3024, allocations: 0 / 462.2 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.3045, allocations: 1.097 MB / 463.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/0.305, allocations: 183.1 kB / 463.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.3052, allocations: 20 kB / 463.5 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000664/0.3058, allocations: 47.81 kB / 463.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.3059, allocations: 40.58 kB / 463.6 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.306, allocations: 19.98 kB / 463.7 MB, free: 3.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007601/0.3067, allocations: 0.5459 MB / 464.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3067, allocations: 4 kB / 464.2 MB, free: 3.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008302/0.3076, allocations: 299.7 kB / 464.5 MB, free: 2.859 MB / 366.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.002473/0.31, allocations: 1.654 MB / 466.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.3123, allocations: 1.351 MB / 467.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.3123, allocations: 4 kB / 467.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006855/0.313, allocations: 402.5 kB / 467.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3142, allocations: 283 kB / 468.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.3263, allocations: 7.835 MB / 476 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006516/0.3269, allocations: 0.9835 MB / 477 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005761/0.3275, allocations: 127.5 kB / 477.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/0.328, allocations: 355.3 kB / 477.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.328, allocations: 0 / 477.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08833/0.4163, allocations: 26.92 MB / 0.4926 GB, free: 11.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.28, allocations: 23.17 kB / 0.4926 GB, free: 11.04 MB / 414.1 MB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 17.72016522499689]