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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 113.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 208.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.011/2.011, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.01108/0.3851, allocations: 5.617 MB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005143/0.3903, allocations: 1.445 MB / 417 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.3915, allocations: 11.94 kB / 417 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.3927, allocations: 194.3 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002234/0.395, allocations: 384.7 kB / 417.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3963, allocations: 263.6 kB / 417.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003042/0.3994, allocations: 1.362 MB / 419.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.4005, allocations: 422.9 kB / 419.6 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.4017, allocations: 0.506 MB / 420.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.403, allocations: 0.5952 MB / 420.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004165/0.4035, allocations: 116 kB / 420.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.404, allocations: 120 kB / 420.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004524/0.4045, allocations: 259.1 kB / 421.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.4059, allocations: 0.6105 MB / 421.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.4086, allocations: 1.403 MB / 423.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4086, allocations: 0 / 423.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4087, allocations: 0 / 423.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.377e-05/0.4087, allocations: 0 / 423.2 MB, free: 4.27 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.004778/0.4135, allocations: 1.477 MB / 424.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4136, allocations: 8.031 kB / 424.7 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000492/0.4141, allocations: 131.6 kB / 424.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.4161, allocations: 0.6382 MB / 425.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/0.4165, allocations: 155.6 kB / 425.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.4167, allocations: 68.28 kB / 425.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.4194, allocations: 0.9755 MB / 426.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.4195, allocations: 0 / 426.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.4197, allocations: 32 kB / 426.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.4197, allocations: 19.94 kB / 426.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002459/0.4222, allocations: 0.6246 MB / 427.3 MB, free: 15.9 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.007357/0.4296, allocations: 2.609 MB / 429.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.4339, allocations: 0.869 MB / 430.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4354, allocations: 354.7 kB / 431.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.4356, allocations: 12.64 kB / 431.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.196e-05/0.4357, allocations: 59.2 kB / 431.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 5.5e-06/0.4357, allocations: 0 / 431.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.004931/0.4406, allocations: 1.4 MB / 432.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005857/0.4413, allocations: 0.9567 MB / 433.6 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.4433, allocations: 0.7826 MB / 434.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.4435, allocations: 45.7 kB / 434.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.4441, allocations: 412.4 kB / 434.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.4445, allocations: 252.3 kB / 435 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.4451, allocations: 154.7 kB / 435.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4453, allocations: 337.9 kB / 435.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.4463, allocations: 253.9 kB / 435.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.4477, allocations: 0.5918 MB / 436.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.4498, allocations: 0.6638 MB / 437 MB, free: 5.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.4499, allocations: 0 / 437 MB, free: 5.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00305/0.4529, allocations: 0.9585 MB / 438 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/0.453, allocations: 91.3 kB / 438.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4531, allocations: 0 / 438.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.4536, allocations: 120.2 kB / 438.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.4547, allocations: 159.8 kB / 438.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009025/0.4638, allocations: 7.317 MB / 445.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.4655, allocations: 99.3 kB / 445.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.4657, allocations: 35.97 kB / 445.8 MB, free: 11.92 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.0007248/0.4665, allocations: 237.7 kB / 446 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.4669, allocations: 102.8 kB / 446.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.4672, allocations: 100.9 kB / 446.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.4673, allocations: 12.23 kB / 446.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.4673, allocations: 4 kB / 446.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002413/0.4697, allocations: 0.9738 MB / 447.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005346/0.4751, allocations: 1.748 MB / 449 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.4751, allocations: 7.922 kB / 449 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/0.4765, allocations: 147.8 kB / 449.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/0.4767, allocations: 28.84 kB / 449.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/0.4768, allocations: 19.98 kB / 449.2 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.4785, allocations: 1.402 MB / 450.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4785, allocations: 0 / 450.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.4822, allocations: 1.073 MB / 451.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.4831, allocations: 259.8 kB / 451.9 MB, free: 5.434 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.4835, allocations: 20 kB / 451.9 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.4847, allocations: 31.97 kB / 451.9 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.4849, allocations: 48.83 kB / 452 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/0.485, allocations: 19.98 kB / 452 MB, free: 5.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001402/0.4864, allocations: 0.5537 MB / 452.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4864, allocations: 0 / 452.6 MB, free: 4.766 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001506/0.4879, allocations: 291.6 kB / 452.9 MB, free: 4.48 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.0002775/0.4882, allocations: 126.7 kB / 453 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.4918, allocations: 1.401 MB / 454.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.4919, allocations: 7.859 kB / 454.4 MB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.493, allocations: 422.6 kB / 454.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.4953, allocations: 286.8 kB / 455.1 MB, free: 2.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/0.5007, allocations: 1.697 MB / 456.8 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009478/0.5016, allocations: 0.9797 MB / 457.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.5022, allocations: 79.42 kB / 457.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5023, allocations: 0 / 457.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of Templates: time 0.04871/0.551, allocations: 24.48 MB / 482.3 MB, free: 6.93 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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