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.001024/0.001024, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005881/0.2119, allocations: 5.62 MB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2141, allocations: 1.445 MB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.2144, allocations: 11.94 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.2149, allocations: 198.3 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.2155, allocations: 388.7 kB / 417.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.2159, allocations: 255.6 kB / 417.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2171, allocations: 1.362 MB / 419.2 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005069/0.2176, allocations: 418.9 kB / 419.6 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.2181, allocations: 0.5099 MB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.2187, allocations: 0.5874 MB / 420.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.2188, allocations: 116 kB / 420.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.219, allocations: 120 kB / 420.9 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.2192, allocations: 271 kB / 421.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005117/0.2197, allocations: 0.6066 MB / 421.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2209, allocations: 1.403 MB / 423.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2209, allocations: 3.938 kB / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2209, allocations: 0 / 423.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2209, allocations: 0 / 423.2 MB, free: 4.234 MB / 334.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.002389/0.2233, allocations: 1.481 MB / 424.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2234, allocations: 8.031 kB / 424.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.2236, allocations: 123.6 kB / 424.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.2245, allocations: 0.6342 MB / 425.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.2247, allocations: 155.6 kB / 425.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.2248, allocations: 72.28 kB / 425.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.2262, allocations: 0.9755 MB / 426.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2262, allocations: 0 / 426.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.2263, allocations: 32 kB / 426.7 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2264, allocations: 19.94 kB / 426.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2276, allocations: 0.6207 MB / 427.3 MB, free: 15.87 MB / 350.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.003772/0.2314, allocations: 2.613 MB / 429.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.2339, allocations: 0.8651 MB / 430.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2346, allocations: 358.7 kB / 431.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.2347, allocations: 12.64 kB / 431.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2347, allocations: 55.2 kB / 431.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.184e-06/0.2348, allocations: 0 / 431.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002491/0.2373, allocations: 1.401 MB / 432.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003656/0.2376, allocations: 0.9528 MB / 433.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000895/0.2385, allocations: 0.7864 MB / 434.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.2386, allocations: 45.7 kB / 434.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.2389, allocations: 416.4 kB / 434.8 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.2391, allocations: 248.3 kB / 435.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.2394, allocations: 154.7 kB / 435.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2395, allocations: 337.9 kB / 435.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.24, allocations: 253.9 kB / 435.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/0.2409, allocations: 0.5879 MB / 436.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2421, allocations: 0.6561 MB / 437 MB, free: 5.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.2421, allocations: 7.938 kB / 437 MB, free: 5.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001654/0.2437, allocations: 0.9545 MB / 438 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/0.2438, allocations: 93.23 kB / 438.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2438, allocations: 3.984 kB / 438.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/0.2441, allocations: 124.2 kB / 438.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.2449, allocations: 151.8 kB / 438.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.2505, allocations: 7.333 MB / 445.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.2513, allocations: 95.23 kB / 445.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/0.2514, allocations: 39.98 kB / 445.8 MB, free: 11.88 MB / 366.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.0003522/0.2517, allocations: 237.7 kB / 446 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.2519, allocations: 102.8 kB / 446.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.2521, allocations: 101.2 kB / 446.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/0.2534, allocations: 0.97 MB / 447.2 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.2534, allocations: 3.984 kB / 447.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.2538, allocations: 259.7 kB / 447.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2539, allocations: 19.94 kB / 447.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.2546, allocations: 39.97 kB / 447.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.2547, allocations: 48.58 kB / 447.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001764/0.2565, allocations: 0.7478 MB / 448.3 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001881/0.2583, allocations: 1.152 MB / 449.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004988/0.2589, allocations: 281.1 kB / 449.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006498/0.2595, allocations: 0.5537 MB / 450.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of Backend: time 2.91e-07/0.2595, allocations: 0 / 450.3 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2615, allocations: 1.291 MB / 451.6 MB, free: 5.824 MB / 366.1 MB Notification: Performance of SimCode: time 0.002746/0.2642, allocations: 2.2 MB / 453.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of Templates: time 0.02602/0.2903, allocations: 18.28 MB / 472.1 MB, free: 1.547 MB / 382.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