Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001615/0.001616, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 56.19 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1448, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01095/0.1558, allocations: 5.629 MB / 363.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.1611, allocations: 1.456 MB / 364.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.1625, allocations: 12 kB / 364.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.1636, allocations: 194.3 kB / 364.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.1655, allocations: 388.7 kB / 365.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1667, allocations: 259.6 kB / 365.5 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003154/0.1699, allocations: 1.343 MB / 366.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.1711, allocations: 415.1 kB / 367.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.1724, allocations: 0.5138 MB / 367.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.1741, allocations: 0.5757 MB / 368.3 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006102/0.1747, allocations: 120 kB / 368.5 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006198/0.1753, allocations: 120 kB / 368.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005818/0.1759, allocations: 259.2 kB / 368.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.1774, allocations: 0.6144 MB / 369.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.1797, allocations: 1.374 MB / 370.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1797, allocations: 0 / 370.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1797, allocations: 0 / 370.8 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.85e-05/0.1798, allocations: 0 / 370.8 MB, free: 0.7188 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.2574/0.4372, allocations: 1.486 MB / 372.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001374/0.4373, allocations: 9.062 kB / 372.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.4375, allocations: 131 kB / 372.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.438, allocations: 128.9 kB / 372.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.4394, allocations: 0.6314 MB / 373.2 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.4398, allocations: 151.4 kB / 373.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.44, allocations: 75.59 kB / 373.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.442, allocations: 0.9881 MB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.442, allocations: 0.8438 kB / 374.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.4422, allocations: 34.16 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.308e-05/0.4423, allocations: 16.38 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.4442, allocations: 0.6283 MB / 375.1 MB, free: 18.36 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.005674/0.45, allocations: 2.669 MB / 377.7 MB, free: 16.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.4531, allocations: 0.8674 MB / 378.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.454, allocations: 346 kB / 379 MB, free: 16.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.4542, allocations: 24.05 kB / 379 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4543, allocations: 56.14 kB / 379 MB, free: 16.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.244e-06/0.4543, allocations: 0 / 379 MB, free: 16.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003576/0.4579, allocations: 1.4 MB / 380.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.4582, allocations: 0.9522 MB / 381.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.4598, allocations: 0.7858 MB / 382.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.4599, allocations: 47.42 kB / 382.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/0.4601, allocations: 417.2 kB / 382.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.4605, allocations: 247 kB / 382.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/0.461, allocations: 159.2 kB / 383 MB, free: 13.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.715e-05/0.4611, allocations: 337.8 kB / 383.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.4618, allocations: 257.9 kB / 383.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.4631, allocations: 0.5925 MB / 384.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.465, allocations: 0.6601 MB / 384.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.465, allocations: 0 / 384.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002868/0.4679, allocations: 0.9508 MB / 385.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.4682, allocations: 85.47 kB / 385.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/0.4682, allocations: 1.219 kB / 385.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.4689, allocations: 136.4 kB / 386 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.4697, allocations: 149.8 kB / 386.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.4767, allocations: 7.324 MB / 393.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/0.4776, allocations: 97.48 kB / 393.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.4776, allocations: 34.91 kB / 393.6 MB, free: 3.93 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.0004204/0.4781, allocations: 246.2 kB / 393.9 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.4782, allocations: 100.5 kB / 394 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4784, allocations: 107.8 kB / 394.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.4785, allocations: 7.562 kB / 394.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.4785, allocations: 2 kB / 394.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.4798, allocations: 0.9712 MB / 395 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.4826, allocations: 1.752 MB / 396.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4826, allocations: 1.562 kB / 396.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007238/0.4833, allocations: 158.4 kB / 397 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.948e-05/0.4834, allocations: 25.16 kB / 397 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.4835, allocations: 19.97 kB / 397 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006094/0.4841, allocations: 1.403 MB / 398.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4841, allocations: 1.219 kB / 398.4 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.4859, allocations: 1.074 MB / 399.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.4863, allocations: 263.3 kB / 399.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.4864, allocations: 23.61 kB / 399.8 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/0.487, allocations: 35.25 kB / 399.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4872, allocations: 46.62 kB / 399.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.4872, allocations: 23.55 kB / 399.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006994/0.4879, allocations: 0.5467 MB / 400.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4879, allocations: 0 / 400.4 MB, free: 15.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.4887, allocations: 294.3 kB / 400.7 MB, free: 15.35 MB / 318.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.002214/0.4909, allocations: 1.654 MB / 402.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.4933, allocations: 1.427 MB / 403.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4933, allocations: 2.469 kB / 403.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.494, allocations: 424.4 kB / 404.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4951, allocations: 284.5 kB / 404.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.5071, allocations: 8.506 MB / 413 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.508, allocations: 0.9797 MB / 414 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007671/0.5087, allocations: 127.5 kB / 414.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.5093, allocations: 359.3 kB / 414.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5093, allocations: 3.938 kB / 414.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/0.7382, allocations: 25.88 MB / 440.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.48, allocations: 3.938 kB / 440.3 MB, free: 10.14 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches