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.001026/0.001026, allocations: 95.77 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 205.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.8 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002232, allocations: 7.984 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09179, allocations: 51.52 MB / 359.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004963/0.09679, allocations: 5.201 MB / 364.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.09903, allocations: 1.398 MB / 365.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.09931, allocations: 15.94 kB / 365.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.09969, allocations: 155 kB / 366 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.1003, allocations: 341.3 kB / 366.4 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1007, allocations: 219.8 kB / 366.6 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1019, allocations: 1.296 MB / 367.9 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00048/0.1024, allocations: 372.2 kB / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.1029, allocations: 466.2 kB / 368.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.1034, allocations: 0.5328 MB / 369.2 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.1036, allocations: 83.94 kB / 369.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1037, allocations: 76 kB / 369.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1039, allocations: 223 kB / 369.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004987/0.1044, allocations: 0.5849 MB / 370.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1054, allocations: 1.319 MB / 371.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1054, allocations: 0 / 371.5 MB, free: 0.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1054, allocations: 4 kB / 371.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1055, allocations: 0 / 371.5 MB, free: 0.7461 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.1904/0.2959, allocations: 1.292 MB / 372.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.296, allocations: 9.094 kB / 372.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.2964, allocations: 130.3 kB / 372.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009751/0.2973, allocations: 0.6252 MB / 373.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.2976, allocations: 157.2 kB / 373.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.2978, allocations: 69.72 kB / 373.8 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.2994, allocations: 0.9815 MB / 374.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2995, allocations: 4.625 kB / 374.8 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/0.2995, allocations: 37.34 kB / 374.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.2996, allocations: 16.34 kB / 374.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.3009, allocations: 0.6451 MB / 375.5 MB, free: 18.02 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.003956/0.3049, allocations: 2.657 MB / 378.1 MB, free: 16.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.3073, allocations: 0.8853 MB / 379 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.308, allocations: 364.2 kB / 379.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.3081, allocations: 13.58 kB / 379.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3081, allocations: 47.09 kB / 379.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.414e-06/0.3081, allocations: 0 / 379.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002477/0.3106, allocations: 1.445 MB / 380.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.3108, allocations: 0.9532 MB / 381.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/0.3117, allocations: 0.7894 MB / 382.6 MB, free: 13.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.3118, allocations: 42.14 kB / 382.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/0.312, allocations: 413.6 kB / 383.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.3122, allocations: 253 kB / 383.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.3123, allocations: 64.48 kB / 383.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.3123, allocations: 333.5 kB / 383.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.3129, allocations: 269.7 kB / 384 MB, free: 12.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.3137, allocations: 0.598 MB / 384.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3148, allocations: 0.6898 MB / 385.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.3148, allocations: 0 / 385.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001608/0.3164, allocations: 0.9779 MB / 386.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.3165, allocations: 85.06 kB / 386.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3165, allocations: 1.094 kB / 386.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/0.3168, allocations: 129.1 kB / 386.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.3175, allocations: 159.8 kB / 386.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.3212, allocations: 6.8 MB / 393.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/0.3221, allocations: 109.8 kB / 393.5 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.3221, allocations: 32.42 kB / 393.5 MB, free: 4.117 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.0003207/0.3225, allocations: 239.8 kB / 393.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3226, allocations: 108.4 kB / 393.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.3228, allocations: 103.9 kB / 394 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3228, allocations: 7.625 kB / 394 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3228, allocations: 1.031 kB / 394 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.3241, allocations: 0.9973 MB / 395 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3268, allocations: 1.763 MB / 396.7 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3268, allocations: 5.125 kB / 396.7 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/0.3275, allocations: 163.7 kB / 396.9 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.888e-05/0.3276, allocations: 26.5 kB / 396.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3276, allocations: 14 kB / 396.9 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005522/0.3282, allocations: 1.315 MB / 398.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3282, allocations: 0 / 398.3 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.3301, allocations: 1.109 MB / 399.4 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.3304, allocations: 262.4 kB / 399.6 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3305, allocations: 20.25 kB / 399.6 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.3312, allocations: 52.14 kB / 399.7 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.3313, allocations: 49.16 kB / 399.7 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.3314, allocations: 21.73 kB / 399.8 MB, free: 20 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006876/0.3321, allocations: 0.5461 MB / 400.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3321, allocations: 4 kB / 400.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007626/0.3328, allocations: 288.6 kB / 400.6 MB, free: 15.67 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.0001616/0.333, allocations: 133.5 kB / 400.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.335, allocations: 1.406 MB / 402.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.335, allocations: 2.812 kB / 402.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.3357, allocations: 436 kB / 402.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3368, allocations: 252.6 kB / 402.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.3396, allocations: 2.119 MB / 404.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.3401, allocations: 0.9771 MB / 405.9 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.3406, allocations: 126.5 kB / 406 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.3408, allocations: 81.61 kB / 406.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3408, allocations: 0 / 406.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of Templates: time 0.02631/0.3671, allocations: 16.52 MB / 422.6 MB, free: 12.18 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches