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.001235/0.001235, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001402/0.001402, allocations: 185.1 kB / 24.49 MB, free: 3.961 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.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.86 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 43.92 kB / 371.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2383, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006396/0.2447, allocations: 4.98 MB / 428.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.2471, allocations: 1.367 MB / 429.7 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.2474, allocations: 15.88 kB / 429.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.2478, allocations: 194.3 kB / 429.9 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.2485, allocations: 400.7 kB / 430.3 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.249, allocations: 259.6 kB / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.2504, allocations: 1.365 MB / 431.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.2508, allocations: 279.8 kB / 432.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005291/0.2514, allocations: 0.5255 MB / 432.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.252, allocations: 0.5836 MB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.2522, allocations: 116 kB / 433.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2524, allocations: 120 kB / 433.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.2526, allocations: 259.1 kB / 433.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.2532, allocations: 0.5174 MB / 434.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.2545, allocations: 1.412 MB / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2545, allocations: 0 / 435.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2545, allocations: 4 kB / 435.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.2545, allocations: 0 / 435.7 MB, free: 1.977 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.0025/0.257, allocations: 1.44 MB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2571, allocations: 8.031 kB / 437.2 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.046e-05/0.2571, allocations: 22.17 kB / 437.2 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.2573, allocations: 140.6 kB / 437.3 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2575, allocations: 136.2 kB / 437.5 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009876/0.2585, allocations: 0.5901 MB / 438 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.2588, allocations: 309.9 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.2589, allocations: 76.12 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.2609, allocations: 1.873 MB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2609, allocations: 7.938 kB / 440.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-05/0.261, allocations: 36 kB / 440.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.261, allocations: 16 kB / 440.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.2623, allocations: 0.6363 MB / 441 MB, free: 12.23 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.003837/0.2662, allocations: 2.034 MB / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.2686, allocations: 0.7528 MB / 443.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/0.2693, allocations: 354.5 kB / 444.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.2694, allocations: 16.64 kB / 444.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.2694, allocations: 55.16 kB / 444.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.414e-06/0.2694, allocations: 0 / 444.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=118): time 0.009933/0.2794, allocations: 4.07 MB / 448.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004319/0.2837, allocations: 3.648 MB / 451.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.2847, allocations: 0.7903 MB / 452.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001814/0.2849, allocations: 49.86 kB / 452.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.2853, allocations: 417.4 kB / 453.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.2857, allocations: 428.3 kB / 453.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004289/0.2861, allocations: 230.9 kB / 453.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2863, allocations: 353.9 kB / 454.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.2874, allocations: 0.6557 MB / 454.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.2894, allocations: 1.897 MB / 456.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.2916, allocations: 1.271 MB / 458 MB, free: 10.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2916, allocations: 0 / 458 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003477/0.2951, allocations: 1.915 MB / 459.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.391e-05/0.2952, allocations: 85.11 kB / 460 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2952, allocations: 0 / 460 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.2958, allocations: 287.5 kB / 460.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.2968, allocations: 219.6 kB / 460.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.3084, allocations: 12.38 MB / 472.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.3105, allocations: 199.9 kB / 473 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.3107, allocations: 59.92 kB / 473.1 MB, free: 10.05 MB / 382.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 (117): * Single equations (assignments): 103 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (3,1,88.9%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (3,1), (1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.3113, allocations: 257.7 kB / 473.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.3115, allocations: 127.2 kB / 473.5 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3118, allocations: 122.8 kB / 473.6 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003242/0.315, allocations: 1.561 MB / 475.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.315, allocations: 8 kB / 475.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004283/0.3193, allocations: 2.238 MB / 477.4 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007362/0.3267, allocations: 3.583 MB / 481 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.3267, allocations: 3.938 kB / 481 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009879/0.3277, allocations: 191.7 kB / 481.2 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.33, allocations: 0.8084 MB / 482 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.3302, allocations: 31.95 kB / 482 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.3425, allocations: 10.8 MB / 492.8 MB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002436/0.3449, allocations: 2.092 MB / 494.9 MB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.3509, allocations: 2.862 MB / 497.8 MB, free: 276 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/0.3517, allocations: 267.1 kB / 498 MB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.3519, allocations: 27.98 kB / 498.1 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.3532, allocations: 111.9 kB / 498.2 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.3535, allocations: 116.6 kB / 498.3 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.3536, allocations: 43.95 kB / 498.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007617/0.3543, allocations: 0.5498 MB / 498.9 MB, free: 15.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3543, allocations: 0 / 498.9 MB, free: 15.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00162/0.356, allocations: 0.5898 MB / 499.5 MB, free: 14.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,1,88.9%), (1,1,100.0%), (3,1,88.9%), (1,1,100.0%), (1,2,100.0%), (5,11,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006336/0.3623, allocations: 3.44 MB / 0.4911 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004298/0.3666, allocations: 2.665 MB / 0.4937 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.3666, allocations: 7.859 kB / 0.4937 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/0.3695, allocations: 1.529 MB / 0.4952 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.371, allocations: 287.5 kB / 0.4955 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.39, allocations: 11.53 MB / 0.5067 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.3905, allocations: 492.1 kB / 0.5072 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007751/0.3913, allocations: 177 kB / 0.5074 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/0.3921, allocations: 463.2 kB / 0.5078 GB, free: 9.336 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3921, allocations: 0 / 0.5078 GB, free: 9.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09795/0.49, allocations: 40.86 MB / 0.5477 GB, free: 1.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.38, allocations: 15.97 kB / 0.5477 GB, free: 1.02 MB / 462.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.958633912028745]