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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 97.77 kB / 16.5 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008125/0.0008124, allocations: 43.59 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07784, allocations: 49.45 MB / 349.5 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00547/0.08333, allocations: 5.617 MB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.08566, allocations: 1.418 MB / 356.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.08619, allocations: 15.94 kB / 356.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.08667, allocations: 155 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006875/0.08736, allocations: 341.3 kB / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/0.08777, allocations: 223.8 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009407/0.08872, allocations: 1.299 MB / 358.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.08912, allocations: 376.3 kB / 358.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.08949, allocations: 482.1 kB / 359.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.08994, allocations: 0.5523 MB / 359.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.09007, allocations: 88 kB / 360 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.09023, allocations: 84 kB / 360.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.09041, allocations: 235 kB / 360.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.09085, allocations: 0.5755 MB / 360.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009054/0.09176, allocations: 1.347 MB / 362.3 MB, free: 7.895 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.09177, allocations: 3.984 kB / 362.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.09178, allocations: 0 / 362.3 MB, free: 7.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.09179, allocations: 0 / 362.3 MB, free: 7.891 MB / 302.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.002077/0.09387, allocations: 1.497 MB / 363.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.581e-05/0.0939, allocations: 8.031 kB / 363.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.09406, allocations: 128.6 kB / 363.9 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.09424, allocations: 135.5 kB / 364 MB, free: 6.047 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.09495, allocations: 0.6265 MB / 364.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.09513, allocations: 151.6 kB / 364.8 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/0.09522, allocations: 72.38 kB / 364.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.09657, allocations: 0.986 MB / 365.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.0966, allocations: 0 / 365.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.09667, allocations: 39.98 kB / 365.9 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.09669, allocations: 16 kB / 365.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.09788, allocations: 0.6286 MB / 366.5 MB, free: 3.355 MB / 302.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.003412/0.1013, allocations: 2.667 MB / 369.2 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.137/0.2384, allocations: 0.8566 MB / 370.1 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.2391, allocations: 353.1 kB / 370.4 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.035e-05/0.2392, allocations: 16.72 kB / 370.4 MB, free: 24.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2393, allocations: 48.72 kB / 370.5 MB, free: 24.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.2393, allocations: 2.375 kB / 370.5 MB, free: 24.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002404/0.2417, allocations: 1.4 MB / 371.9 MB, free: 24.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.2418, allocations: 0.948 MB / 372.8 MB, free: 23.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/0.2428, allocations: 0.7868 MB / 373.6 MB, free: 23.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.2428, allocations: 45.95 kB / 373.7 MB, free: 22.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.2431, allocations: 419.5 kB / 374.1 MB, free: 22.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.2432, allocations: 255.4 kB / 374.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.2434, allocations: 159.9 kB / 374.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.2435, allocations: 333 kB / 374.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.244, allocations: 256.6 kB / 375.1 MB, free: 22.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.2447, allocations: 0.5825 MB / 375.6 MB, free: 21.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009984/0.2457, allocations: 0.6713 MB / 376.3 MB, free: 21.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2457, allocations: 2.531 kB / 376.3 MB, free: 21.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001408/0.2471, allocations: 0.9465 MB / 377.3 MB, free: 20.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.2472, allocations: 86.34 kB / 377.3 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2472, allocations: 1.562 kB / 377.3 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.2475, allocations: 129.7 kB / 377.5 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.2481, allocations: 154.5 kB / 377.6 MB, free: 20.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/0.2516, allocations: 6.789 MB / 384.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.2524, allocations: 104.8 kB / 384.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.2524, allocations: 26.34 kB / 384.5 MB, free: 13.79 MB / 302.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.0002988/0.2527, allocations: 242.5 kB / 384.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.2529, allocations: 102.9 kB / 384.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.253, allocations: 104.1 kB / 385 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.2531, allocations: 6.531 kB / 385 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.2531, allocations: 0.9688 kB / 385 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.2542, allocations: 0.9725 MB / 386 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.2565, allocations: 1.751 MB / 387.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2565, allocations: 3.562 kB / 387.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/0.2572, allocations: 158.7 kB / 387.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.127e-05/0.2573, allocations: 21.88 kB / 387.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.2574, allocations: 19.28 kB / 387.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/0.2579, allocations: 1.307 MB / 389.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2579, allocations: 0 / 389.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.2596, allocations: 1.081 MB / 390.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.2599, allocations: 263.2 kB / 390.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.26, allocations: 22.89 kB / 390.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.2606, allocations: 46.67 kB / 390.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2607, allocations: 42.12 kB / 390.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.2607, allocations: 18.19 kB / 390.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005788/0.2613, allocations: 0.5481 MB / 391.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2613, allocations: 1.375 kB / 391.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006294/0.262, allocations: 296.7 kB / 391.5 MB, free: 9.434 MB / 302.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.001845/0.2638, allocations: 1.652 MB / 393.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001539/0.2654, allocations: 1.386 MB / 394.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2654, allocations: 2.781 kB / 394.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.2659, allocations: 421.7 kB / 395 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.267, allocations: 261.5 kB / 395.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.276, allocations: 8.821 MB / 404 MB, free: 1.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2762, allocations: 0.9836 MB / 405 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004479/0.2767, allocations: 119.5 kB / 405.1 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000341/0.277, allocations: 359.3 kB / 405.5 MB, free: 304 kB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.277, allocations: 0 / 405.5 MB, free: 304 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.436/1.713, allocations: 24.76 MB / 430.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.713, allocations: 244.2 kB / 430.5 MB, free: 7.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/4.089, allocations: 0 / 430.5 MB, free: 7.754 MB / 334.1 MB (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 --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) 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) Reference file matches