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.001048/0.001048, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.7 MB / 247.5 MB, free: 9.66 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003389, allocations: 8 kB / 308.4 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 51.51 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007908/0.157, allocations: 5.205 MB / 365.1 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1615, allocations: 1.391 MB / 366.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.1624, allocations: 15.94 kB / 366.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006192/0.163, allocations: 155 kB / 366.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.1645, allocations: 341.3 kB / 367 MB, free: 5.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.1653, allocations: 219.8 kB / 367.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1672, allocations: 1.303 MB / 368.5 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.1679, allocations: 372.2 kB / 368.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.1686, allocations: 474.1 kB / 369.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007798/0.1694, allocations: 0.5289 MB / 369.9 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001766/0.1696, allocations: 76 kB / 369.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1698, allocations: 80 kB / 370 MB, free: 2.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.1701, allocations: 215 kB / 370.2 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.1709, allocations: 0.5926 MB / 370.8 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1722, allocations: 1.02 MB / 371.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1722, allocations: 4 kB / 371.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1722, allocations: 0 / 371.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.1722, allocations: 0 / 371.9 MB, free: 1.027 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.2154/0.3877, allocations: 1.296 MB / 373.1 MB, free: 18.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3878, allocations: 8.781 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005303/0.3883, allocations: 128.8 kB / 373.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.3898, allocations: 0.6269 MB / 373.9 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.39, allocations: 160.7 kB / 374.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.3903, allocations: 69.97 kB / 374.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3922, allocations: 0.9795 MB / 375.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.3922, allocations: 7.812 kB / 375.1 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.3923, allocations: 32.56 kB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.3923, allocations: 16.25 kB / 375.2 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.394, allocations: 0.6422 MB / 375.8 MB, free: 17.73 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.005044/0.3991, allocations: 2.651 MB / 378.5 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.4017, allocations: 0.8943 MB / 379.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007488/0.4024, allocations: 364.5 kB / 379.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.425e-05/0.4025, allocations: 16.69 kB / 379.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.4026, allocations: 51.09 kB / 379.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.587e-06/0.4026, allocations: 0 / 379.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003025/0.4056, allocations: 1.445 MB / 381.2 MB, free: 14.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002599/0.4059, allocations: 0.9491 MB / 382.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.4073, allocations: 0.7856 MB / 383 MB, free: 13.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.4074, allocations: 45.92 kB / 383 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.4078, allocations: 413.1 kB / 383.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.4081, allocations: 248.6 kB / 383.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.4082, allocations: 68.34 kB / 383.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.4083, allocations: 332.4 kB / 384 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/0.4089, allocations: 266.3 kB / 384.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.4097, allocations: 0.5996 MB / 384.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4109, allocations: 0.6893 MB / 385.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4109, allocations: 0 / 385.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001909/0.4129, allocations: 0.9775 MB / 386.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-05/0.4129, allocations: 89.33 kB / 386.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.413, allocations: 1.75 kB / 386.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.4133, allocations: 120.5 kB / 386.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.4141, allocations: 164.5 kB / 386.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.4184, allocations: 6.805 MB / 393.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.4194, allocations: 109.2 kB / 393.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.019e-05/0.4195, allocations: 24.05 kB / 393.9 MB, free: 3.914 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.0004395/0.42, allocations: 245.8 kB / 394.1 MB, free: 3.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.4202, allocations: 111.7 kB / 394.2 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.4204, allocations: 104.6 kB / 394.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.4205, allocations: 6.844 kB / 394.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.4205, allocations: 1.156 kB / 394.3 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/0.4219, allocations: 0.9947 MB / 395.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003161/0.425, allocations: 1.767 MB / 397.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.425, allocations: 1 kB / 397.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.4258, allocations: 165.1 kB / 397.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.426, allocations: 27.81 kB / 397.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-05/0.426, allocations: 12.8 kB / 397.3 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007124/0.4267, allocations: 1.31 MB / 398.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4268, allocations: 0.75 kB / 398.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.4289, allocations: 1.11 MB / 399.7 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.4295, allocations: 256.7 kB / 400 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.4297, allocations: 19.69 kB / 400 MB, free: 15.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007966/0.4305, allocations: 57.16 kB / 400 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4306, allocations: 50.17 kB / 400.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.4307, allocations: 18.5 kB / 400.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008721/0.4316, allocations: 0.5483 MB / 400.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4316, allocations: 1.062 kB / 400.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009839/0.4326, allocations: 292.2 kB / 400.9 MB, free: 15.55 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.0002017/0.4328, allocations: 126.5 kB / 401.1 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.435, allocations: 1.412 MB / 402.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.435, allocations: 2.594 kB / 402.5 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.4358, allocations: 436.2 kB / 402.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4371, allocations: 254 kB / 403.2 MB, free: 14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.4405, allocations: 2.141 MB / 405.3 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.441, allocations: 0.9771 MB / 406.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.4413, allocations: 85.8 kB / 406.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4413, allocations: 0 / 406.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of Templates: time 0.03032/0.4716, allocations: 24.12 MB / 430.5 MB, free: 4.5 MB / 334.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