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.001427/0.001427, allocations: 109.8 kB / 17.68 MB, free: 5.332 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.001617/0.001617, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009837/0.0009837, allocations: 45.98 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08802/0.08902, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006047/0.09511, allocations: 5.609 MB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.09734, allocations: 1.425 MB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.09767, allocations: 11.94 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.09811, allocations: 198.3 kB / 358.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006141/0.09876, allocations: 380.7 kB / 359.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.09919, allocations: 271.5 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1004, allocations: 1.361 MB / 360.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.1009, allocations: 415.1 kB / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000441/0.1013, allocations: 0.5138 MB / 361.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.1019, allocations: 0.5757 MB / 362.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.1021, allocations: 120 kB / 362.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.1022, allocations: 120 kB / 362.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1024, allocations: 255.1 kB / 362.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005/0.1029, allocations: 0.6183 MB / 363.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.104, allocations: 1.398 MB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.104, allocations: 0 / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.104, allocations: 0 / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.104, allocations: 0 / 364.7 MB, free: 6.383 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.002369/0.1064, allocations: 1.489 MB / 366.2 MB, free: 4.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1065, allocations: 12.03 kB / 366.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1067, allocations: 127.5 kB / 366.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.1076, allocations: 0.6342 MB / 367 MB, free: 4.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.1078, allocations: 151.6 kB / 367.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1079, allocations: 72.38 kB / 367.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1093, allocations: 0.963 MB / 368.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1093, allocations: 0 / 368.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.1094, allocations: 36 kB / 368.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1094, allocations: 16 kB / 368.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1107, allocations: 0.6207 MB / 368.8 MB, free: 2.023 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.1616/0.2723, allocations: 2.621 MB / 371.5 MB, free: 24.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002607/0.2749, allocations: 0.8565 MB / 372.3 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/0.2757, allocations: 354.4 kB / 372.7 MB, free: 24.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/0.2758, allocations: 13.97 kB / 372.7 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2758, allocations: 56.33 kB / 372.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.2758, allocations: 2.469 kB / 372.7 MB, free: 24.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002575/0.2784, allocations: 1.396 MB / 374.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.2787, allocations: 0.9561 MB / 375.1 MB, free: 22.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.2797, allocations: 0.7874 MB / 375.9 MB, free: 22.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.2798, allocations: 41.95 kB / 375.9 MB, free: 22.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.2801, allocations: 419.1 kB / 376.3 MB, free: 22.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.2802, allocations: 246.1 kB / 376.6 MB, free: 21.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.2805, allocations: 159.9 kB / 376.7 MB, free: 21.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.2806, allocations: 337.5 kB / 377 MB, free: 21.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.2811, allocations: 256.7 kB / 377.3 MB, free: 21.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.282, allocations: 0.5934 MB / 377.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.2831, allocations: 0.665 MB / 378.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2831, allocations: 0 / 378.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001612/0.2847, allocations: 0.9523 MB / 379.5 MB, free: 20.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.2848, allocations: 93.11 kB / 379.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2848, allocations: 5.719 kB / 379.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.2852, allocations: 124.4 kB / 379.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.2859, allocations: 150.1 kB / 379.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.2902, allocations: 7.328 MB / 387.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008479/0.2911, allocations: 96.94 kB / 387.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.542e-05/0.2912, allocations: 32.12 kB / 387.3 MB, free: 12.56 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.0003413/0.2915, allocations: 233.6 kB / 387.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.2917, allocations: 105 kB / 387.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.2919, allocations: 103.6 kB / 387.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2919, allocations: 6.844 kB / 387.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.2919, allocations: 1.781 kB / 387.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.2932, allocations: 0.9745 MB / 388.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.2962, allocations: 1.741 MB / 390.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2962, allocations: 5.031 kB / 390.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/0.297, allocations: 155.3 kB / 390.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/0.2971, allocations: 25.11 kB / 390.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.2971, allocations: 14.39 kB / 390.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007141/0.2979, allocations: 1.409 MB / 392.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2979, allocations: 1.5 kB / 392.1 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.2998, allocations: 1.082 MB / 393.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.3003, allocations: 260.8 kB / 393.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3004, allocations: 16.52 kB / 393.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/0.301, allocations: 44.2 kB / 393.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3012, allocations: 45.53 kB / 393.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.3012, allocations: 18.67 kB / 393.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009029/0.3021, allocations: 0.5454 MB / 394.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3021, allocations: 0 / 394.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001307/0.3034, allocations: 291.9 kB / 394.4 MB, free: 8.133 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.0002042/0.3037, allocations: 128.7 kB / 394.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.3059, allocations: 1.401 MB / 395.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.3059, allocations: 2.312 kB / 395.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.3066, allocations: 421 kB / 396.3 MB, free: 6.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3077, allocations: 284.8 kB / 396.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3108, allocations: 1.677 MB / 398.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.3112, allocations: 0.9798 MB / 399.2 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005072/0.3117, allocations: 127.9 kB / 399.4 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.312, allocations: 74.91 kB / 399.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.312, allocations: 0 / 399.4 MB, free: 5.023 MB / 302.1 MB Notification: Performance of Templates: time 0.02558/0.3376, allocations: 17.65 MB / 417.1 MB, free: 6.246 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 -s gbode -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