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.00101/0.00101, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2212, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005542/0.2268, allocations: 5.619 MB / 414.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2289, allocations: 1.452 MB / 416.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.2292, allocations: 11.94 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.2297, allocations: 194.3 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006208/0.2303, allocations: 384.7 kB / 416.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2307, allocations: 263.6 kB / 417.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2319, allocations: 1.358 MB / 418.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.2324, allocations: 411.1 kB / 418.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.2328, allocations: 0.5138 MB / 419.4 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005769/0.2334, allocations: 0.5835 MB / 420 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.2336, allocations: 120 kB / 420.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.2338, allocations: 120 kB / 420.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.2339, allocations: 259.1 kB / 420.5 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004779/0.2344, allocations: 0.6066 MB / 421.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2356, allocations: 1.412 MB / 422.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2356, allocations: 0 / 422.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2356, allocations: 3.938 kB / 422.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.2356, allocations: 0 / 422.5 MB, free: 4.238 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.002303/0.2379, allocations: 1.515 MB / 424 MB, free: 2.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.238, allocations: 8.031 kB / 424 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.2382, allocations: 136.2 kB / 424.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000869/0.2391, allocations: 0.6428 MB / 424.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.2393, allocations: 147.7 kB / 424.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.2394, allocations: 68.38 kB / 425 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2408, allocations: 0.9716 MB / 426 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2408, allocations: 0 / 426 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-05/0.2409, allocations: 36 kB / 426 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.2409, allocations: 19.94 kB / 426 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.2421, allocations: 0.6207 MB / 426.7 MB, free: 15.83 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.003769/0.2459, allocations: 2.637 MB / 429.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.2483, allocations: 0.8651 MB / 430.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.249, allocations: 350.7 kB / 430.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.2491, allocations: 20.64 kB / 430.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2491, allocations: 47.22 kB / 430.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.2491, allocations: 4 kB / 430.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002416/0.2516, allocations: 1.409 MB / 432 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000312/0.2519, allocations: 0.9566 MB / 432.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.2527, allocations: 0.7826 MB / 433.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.973e-05/0.2528, allocations: 45.7 kB / 433.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.2531, allocations: 416.9 kB / 434.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.2533, allocations: 265.7 kB / 434.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.2536, allocations: 158.6 kB / 434.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2537, allocations: 330 kB / 434.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/0.2542, allocations: 257.9 kB / 435.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/0.255, allocations: 0.5918 MB / 435.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.2562, allocations: 0.6638 MB / 436.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2562, allocations: 0 / 436.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001646/0.2578, allocations: 0.9553 MB / 437.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.2579, allocations: 89.09 kB / 437.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2579, allocations: 4 kB / 437.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.2583, allocations: 124.2 kB / 437.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.2589, allocations: 151.8 kB / 437.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.2644, allocations: 7.337 MB / 445.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.2653, allocations: 107.4 kB / 445.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.2653, allocations: 27.98 kB / 445.2 MB, free: 11.79 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.0003538/0.2657, allocations: 237.7 kB / 445.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.2659, allocations: 111.5 kB / 445.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.2661, allocations: 96.91 kB / 445.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2661, allocations: 11.94 kB / 445.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2661, allocations: 0 / 445.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.2674, allocations: 0.9738 MB / 446.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.2702, allocations: 1.741 MB / 448.4 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2702, allocations: 4 kB / 448.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007424/0.2709, allocations: 159.8 kB / 448.5 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.2711, allocations: 24.84 kB / 448.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.528e-05/0.2712, allocations: 19.98 kB / 448.6 MB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.2722, allocations: 1.407 MB / 450 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2722, allocations: 0 / 450 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.2742, allocations: 1.082 MB / 451.1 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.2746, allocations: 260.2 kB / 451.3 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.2747, allocations: 20 kB / 451.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.2754, allocations: 35.97 kB / 451.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.2755, allocations: 48.59 kB / 451.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2755, allocations: 19.98 kB / 451.4 MB, free: 5.176 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006881/0.2762, allocations: 0.5459 MB / 452 MB, free: 4.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2762, allocations: 0 / 452 MB, free: 4.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007649/0.277, allocations: 299.7 kB / 452.3 MB, free: 4.344 MB / 366.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.0001817/0.2772, allocations: 126.5 kB / 452.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.2792, allocations: 1.401 MB / 453.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2792, allocations: 4.109 kB / 453.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.2799, allocations: 430.3 kB / 454.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.281, allocations: 270.9 kB / 454.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.2837, allocations: 1.696 MB / 456.2 MB, free: 288 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.2842, allocations: 0.9797 MB / 457.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.2847, allocations: 131.5 kB / 457.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.2849, allocations: 71.44 kB / 457.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2849, allocations: 0 / 457.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of Templates: time 0.02677/0.3117, allocations: 17.83 MB / 475.2 MB, free: 13.54 MB / 398.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