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.001041/0.001041, allocations: 104.2 kB / 16.62 MB, free: 6.812 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.0009489/0.0009489, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 46.55 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09222/0.09326, allocations: 49.44 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006181/0.09949, allocations: 5.609 MB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1021, allocations: 1.41 MB / 356.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.1025, allocations: 12 kB / 356.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.103, allocations: 159 kB / 356.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007306/0.1037, allocations: 341.3 kB / 357.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1042, allocations: 227.7 kB / 357.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00122/0.1054, allocations: 1.358 MB / 358.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.106, allocations: 411.1 kB / 359.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.1064, allocations: 0.5099 MB / 359.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.107, allocations: 0.5797 MB / 360.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1071, allocations: 120 kB / 360.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1073, allocations: 124 kB / 360.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.1075, allocations: 255.1 kB / 360.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.108, allocations: 0.6105 MB / 361.4 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.1092, allocations: 1.382 MB / 362.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1092, allocations: 0 / 362.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1092, allocations: 0 / 362.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1092, allocations: 0 / 362.7 MB, free: 7.516 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.002385/0.1116, allocations: 1.493 MB / 364.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1117, allocations: 12.03 kB / 364.3 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.1118, allocations: 124.6 kB / 364.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.1121, allocations: 131.5 kB / 364.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.1129, allocations: 0.6303 MB / 365.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.1131, allocations: 155.7 kB / 365.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.1133, allocations: 72.38 kB / 365.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1147, allocations: 0.9782 MB / 366.3 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1147, allocations: 4 kB / 366.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.966e-05/0.1148, allocations: 35.98 kB / 366.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1148, allocations: 20 kB / 366.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.1161, allocations: 0.6246 MB / 367 MB, free: 2.988 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.003792/0.1199, allocations: 2.667 MB / 369.7 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1897/0.3096, allocations: 0.8568 MB / 370.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007214/0.3104, allocations: 354.8 kB / 370.9 MB, free: 25.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/0.3104, allocations: 13.61 kB / 370.9 MB, free: 25.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3105, allocations: 49 kB / 370.9 MB, free: 25.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/0.3105, allocations: 5.891 kB / 371 MB, free: 25.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002585/0.3131, allocations: 1.402 MB / 372.4 MB, free: 24.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.3133, allocations: 0.949 MB / 373.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.3143, allocations: 0.7885 MB / 374.1 MB, free: 23.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.3144, allocations: 45.95 kB / 374.1 MB, free: 23.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.3146, allocations: 418.5 kB / 374.5 MB, free: 22.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.3148, allocations: 248.7 kB / 374.8 MB, free: 22.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.3151, allocations: 163.7 kB / 375 MB, free: 22.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.3152, allocations: 332.6 kB / 375.3 MB, free: 22.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/0.3157, allocations: 255.4 kB / 375.5 MB, free: 22.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/0.3164, allocations: 0.5859 MB / 376.1 MB, free: 21.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3175, allocations: 0.6657 MB / 376.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.3175, allocations: 1.375 kB / 376.8 MB, free: 21.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001548/0.3191, allocations: 0.951 MB / 377.7 MB, free: 20.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.3191, allocations: 84.22 kB / 377.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3191, allocations: 2.344 kB / 377.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.3195, allocations: 129.6 kB / 377.9 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.3202, allocations: 158.9 kB / 378.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/0.3244, allocations: 7.329 MB / 385.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/0.3252, allocations: 109.1 kB / 385.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.3253, allocations: 23.03 kB / 385.6 MB, free: 13.32 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.0003357/0.3257, allocations: 245.7 kB / 385.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.3258, allocations: 101.4 kB / 385.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.326, allocations: 100.3 kB / 386 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.326, allocations: 7.094 kB / 386 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.326, allocations: 8.469 kB / 386 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.3272, allocations: 0.97 MB / 387 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.3298, allocations: 1.752 MB / 388.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3298, allocations: 1.703 kB / 388.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.3305, allocations: 154.8 kB / 388.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.611e-05/0.3306, allocations: 30.02 kB / 388.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/0.3307, allocations: 13.39 kB / 388.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006272/0.3313, allocations: 1.407 MB / 390.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.3314, allocations: 4.062 kB / 390.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.3331, allocations: 1.08 MB / 391.4 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.3335, allocations: 261.5 kB / 391.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3336, allocations: 16.34 kB / 391.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006518/0.3342, allocations: 42.89 kB / 391.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.3344, allocations: 46.06 kB / 391.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.3344, allocations: 23.27 kB / 391.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.3351, allocations: 0.5483 MB / 392.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3351, allocations: 4 kB / 392.3 MB, free: 8.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000757/0.3358, allocations: 294.7 kB / 392.6 MB, free: 8.863 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.001984/0.3378, allocations: 1.644 MB / 394.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.34, allocations: 1.433 MB / 395.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.34, allocations: 2.5 kB / 395.7 MB, free: 6.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006274/0.3406, allocations: 421 kB / 396.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.3419, allocations: 284.4 kB / 396.4 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3523, allocations: 8.809 MB / 405.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3527, allocations: 0.9836 MB / 406.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006475/0.3534, allocations: 127.5 kB / 406.3 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.3538, allocations: 355.3 kB / 406.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3539, allocations: 0 / 406.7 MB, free: 15.21 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05501/0.4089, allocations: 25.72 MB / 432.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.4091, allocations: 247.5 kB / 432.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.023, allocations: 0 / 432.6 MB, free: 5.762 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