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: 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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001415, allocations: 108.2 kB / 17.16 MB, free: 6.324 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.001647/0.001647, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.362/1.362, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 44.03 kB / 300.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09261, allocations: 49.45 MB / 350.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00644/0.0991, allocations: 5.605 MB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.102, allocations: 1.425 MB / 357.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.103, allocations: 8 kB / 357.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.1037, allocations: 151 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.105, allocations: 345.3 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006461/0.1056, allocations: 231.7 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.1074, allocations: 1.299 MB / 359.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.108, allocations: 380.2 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.1088, allocations: 486.1 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.1097, allocations: 0.5562 MB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.1101, allocations: 84 kB / 360.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.1106, allocations: 88 kB / 360.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.1108, allocations: 223.1 kB / 360.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.1114, allocations: 0.5793 MB / 361.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.1122, allocations: 1.04 MB / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1123, allocations: 0 / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1123, allocations: 0 / 362.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1123, allocations: 4 kB / 362.5 MB, free: 8.344 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.002483/0.1148, allocations: 1.489 MB / 364 MB, free: 6.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1148, allocations: 12.03 kB / 364 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.115, allocations: 131.5 kB / 364.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.1158, allocations: 0.6304 MB / 364.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.116, allocations: 151.6 kB / 364.9 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.1162, allocations: 72.38 kB / 365 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.1177, allocations: 0.963 MB / 366 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1178, allocations: 4 kB / 366 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.1178, allocations: 32 kB / 366 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.1179, allocations: 23.92 kB / 366 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1191, allocations: 0.6246 MB / 366.6 MB, free: 3.973 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.003835/0.123, allocations: 2.64 MB / 369.3 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002465/0.1254, allocations: 0.8566 MB / 370.1 MB, free: 296 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1417/0.2672, allocations: 346.2 kB / 370.5 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.2674, allocations: 19.12 kB / 370.5 MB, free: 25.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.2674, allocations: 50.48 kB / 370.5 MB, free: 25.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.2674, allocations: 0.625 kB / 370.5 MB, free: 25.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002837/0.2703, allocations: 1.401 MB / 371.9 MB, free: 24.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.2705, allocations: 0.9497 MB / 372.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.2715, allocations: 0.7865 MB / 373.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.23e-05/0.2716, allocations: 45.89 kB / 373.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.2719, allocations: 409.9 kB / 374.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.272, allocations: 254.2 kB / 374.4 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.2723, allocations: 158.9 kB / 374.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.2724, allocations: 337.8 kB / 374.9 MB, free: 22.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006227/0.273, allocations: 255.6 kB / 375.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/0.2737, allocations: 0.5876 MB / 375.7 MB, free: 22.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.2748, allocations: 0.6623 MB / 376.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.2749, allocations: 3.844 kB / 376.4 MB, free: 21.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001711/0.2766, allocations: 0.9508 MB / 377.3 MB, free: 21.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.2766, allocations: 94.27 kB / 377.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2766, allocations: 3.625 kB / 377.4 MB, free: 21.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/0.277, allocations: 123 kB / 377.5 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.2778, allocations: 149.2 kB / 377.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003959/0.2817, allocations: 6.796 MB / 384.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.2827, allocations: 103.1 kB / 384.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.2828, allocations: 24.02 kB / 384.6 MB, free: 14.41 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.0003478/0.2831, allocations: 249.1 kB / 384.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.2833, allocations: 101.5 kB / 384.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.2834, allocations: 99.42 kB / 385 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2834, allocations: 7.812 kB / 385 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.2835, allocations: 0 / 385 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/0.2847, allocations: 0.9765 MB / 386 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.2875, allocations: 1.746 MB / 387.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2875, allocations: 0 / 387.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008063/0.2883, allocations: 159.2 kB / 387.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.312e-05/0.2884, allocations: 25.53 kB / 387.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.2884, allocations: 13.58 kB / 388 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006416/0.2891, allocations: 1.312 MB / 389.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2891, allocations: 0.7969 kB / 389.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.291, allocations: 1.077 MB / 390.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.2914, allocations: 260.9 kB / 390.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.2915, allocations: 21.34 kB / 390.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.2922, allocations: 46.7 kB / 390.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2923, allocations: 42.19 kB / 390.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.01e-05/0.2924, allocations: 18.3 kB / 390.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007112/0.2931, allocations: 0.549 MB / 391.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2931, allocations: 0 / 391.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008844/0.294, allocations: 300 kB / 391.6 MB, free: 10.05 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.0001582/0.2942, allocations: 130.1 kB / 391.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2961, allocations: 1.385 MB / 393.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2961, allocations: 2.25 kB / 393.1 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.2968, allocations: 417.6 kB / 393.5 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.298, allocations: 258 kB / 393.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.301, allocations: 2.052 MB / 395.8 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.3014, allocations: 0.9789 MB / 396.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.3017, allocations: 83.66 kB / 396.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3018, allocations: 1.062 kB / 396.9 MB, free: 6.641 MB / 302.1 MB Notification: Performance of Templates: time 0.025/0.3268, allocations: 24.22 MB / 421.1 MB, free: 1.922 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (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 & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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