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.0008659/0.0008659, allocations: 92.05 kB / 17.31 MB, free: 5.59 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.0008841/0.0008842, allocations: 174.8 kB / 18.21 MB, free: 5.191 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.34/1.34, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 7.938 kB / 302.1 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09279, allocations: 50.4 MB / 352.5 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005307/0.09814, allocations: 5.199 MB / 357.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002854/0.101, allocations: 1.352 MB / 359 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.1017, allocations: 11.94 kB / 359.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.1023, allocations: 159 kB / 359.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.1035, allocations: 341.3 kB / 359.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006733/0.1042, allocations: 223.8 kB / 359.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1059, allocations: 1.3 MB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.1065, allocations: 376.2 kB / 361.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006766/0.1072, allocations: 470.1 kB / 361.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.108, allocations: 0.5367 MB / 362.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.1082, allocations: 76 kB / 362.5 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.1084, allocations: 80 kB / 362.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1086, allocations: 207.1 kB / 362.8 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006387/0.1093, allocations: 0.5888 MB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008313/0.1101, allocations: 1.02 MB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1101, allocations: 0 / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1101, allocations: 7.938 kB / 364.4 MB, free: 7.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.1102, allocations: 0 / 364.4 MB, free: 7.457 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.002431/0.1126, allocations: 1.294 MB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1127, allocations: 8.031 kB / 365.7 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.113, allocations: 131.5 kB / 365.8 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.1139, allocations: 0.6304 MB / 366.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.1142, allocations: 159.7 kB / 366.6 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1143, allocations: 68.38 kB / 366.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.116, allocations: 0.9785 MB / 367.7 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.116, allocations: 4 kB / 367.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/0.1161, allocations: 32 kB / 367.7 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.1161, allocations: 16 kB / 367.7 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.1175, allocations: 0.6442 MB / 368.3 MB, free: 3.254 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.004336/0.1219, allocations: 2.659 MB / 371 MB, free: 440 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.164/0.2859, allocations: 0.8732 MB / 371.9 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000922/0.2869, allocations: 367 kB / 372.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.165e-05/0.287, allocations: 18.11 kB / 372.3 MB, free: 23.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.287, allocations: 48.38 kB / 372.3 MB, free: 23.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.165e-06/0.287, allocations: 0 / 372.3 MB, free: 23.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00275/0.2898, allocations: 1.447 MB / 373.8 MB, free: 23.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.29, allocations: 0.9472 MB / 374.7 MB, free: 22.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.2912, allocations: 0.7934 MB / 375.5 MB, free: 21.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-05/0.2913, allocations: 43.17 kB / 375.5 MB, free: 21.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.2916, allocations: 410.5 kB / 375.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2918, allocations: 253.4 kB / 376.2 MB, free: 21.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.2919, allocations: 60.08 kB / 376.2 MB, free: 21.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.292, allocations: 337.2 kB / 376.6 MB, free: 21.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005757/0.2926, allocations: 269.7 kB / 376.8 MB, free: 21.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/0.2934, allocations: 0.5939 MB / 377.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.2945, allocations: 0.6908 MB / 378.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2945, allocations: 0 / 378.1 MB, free: 20.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001669/0.2962, allocations: 0.9846 MB / 379.1 MB, free: 19.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.2963, allocations: 85.53 kB / 379.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.2963, allocations: 1.281 kB / 379.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/0.2966, allocations: 124.1 kB / 379.3 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.2973, allocations: 156.8 kB / 379.5 MB, free: 19.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/0.3012, allocations: 6.79 MB / 386.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/0.3021, allocations: 121.3 kB / 386.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3021, allocations: 27.3 kB / 386.4 MB, free: 12.84 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.000347/0.3025, allocations: 238.2 kB / 386.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.3027, allocations: 104.4 kB / 386.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.3029, allocations: 104.7 kB / 386.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3029, allocations: 7.719 kB / 386.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3029, allocations: 5.078 kB / 386.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.3041, allocations: 0.999 MB / 387.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/0.3069, allocations: 1.776 MB / 389.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3069, allocations: 0 / 389.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007491/0.3077, allocations: 160.3 kB / 389.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-05/0.3078, allocations: 30.77 kB / 389.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.3078, allocations: 18.58 kB / 389.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/0.3084, allocations: 1.31 MB / 391.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3084, allocations: 0 / 391.1 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3104, allocations: 1.117 MB / 392.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.3108, allocations: 258.8 kB / 392.5 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.3109, allocations: 20.12 kB / 392.5 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.3116, allocations: 52.36 kB / 392.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.3118, allocations: 49.52 kB / 392.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.943e-05/0.3118, allocations: 22.53 kB / 392.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000699/0.3125, allocations: 0.5445 MB / 393.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3125, allocations: 0 / 393.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.3133, allocations: 291.8 kB / 393.5 MB, free: 8.453 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.0001416/0.3135, allocations: 128.9 kB / 393.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3154, allocations: 1.413 MB / 395 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.3154, allocations: 2.312 kB / 395 MB, free: 7.359 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.3161, allocations: 436.7 kB / 395.4 MB, free: 7.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.3174, allocations: 263 kB / 395.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.3203, allocations: 2.137 MB / 397.8 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.3207, allocations: 0.9779 MB / 398.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.321, allocations: 86.86 kB / 398.9 MB, free: 5 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.321, allocations: 0 / 398.9 MB, free: 5 MB / 302.1 MB Notification: Performance of Templates: time 0.02721/0.3482, allocations: 24.12 MB / 423 MB, free: 4 kB / 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