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.001296/0.001296, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001548/0.001548, allocations: 200 kB / 18.01 MB, free: 5.055 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.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009358/0.0009358, allocations: 47.92 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2223, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005798/0.2282, allocations: 5.616 MB / 406.3 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.2304, allocations: 1.413 MB / 407.8 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.2307, allocations: 8 kB / 407.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.2312, allocations: 202.3 kB / 408 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.2319, allocations: 400.7 kB / 408.4 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.2324, allocations: 263.6 kB / 408.6 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.2337, allocations: 1.369 MB / 410 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.2342, allocations: 408.4 kB / 410.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004788/0.2347, allocations: 0.5099 MB / 410.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.2353, allocations: 0.5835 MB / 411.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.2354, allocations: 116 kB / 411.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.2356, allocations: 128 kB / 411.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.2358, allocations: 259.1 kB / 412 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.2363, allocations: 0.6105 MB / 412.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.2375, allocations: 1.401 MB / 414 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2375, allocations: 0 / 414 MB, free: 11.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2375, allocations: 0 / 414 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.2375, allocations: 0 / 414 MB, free: 11.54 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.002371/0.2399, allocations: 1.481 MB / 415.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2399, allocations: 8.031 kB / 415.5 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.2401, allocations: 123.6 kB / 415.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/0.2411, allocations: 0.6382 MB / 416.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.2413, allocations: 151.7 kB / 416.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2414, allocations: 76.22 kB / 416.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2428, allocations: 0.9746 MB / 417.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2428, allocations: 0 / 417.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.2429, allocations: 36 kB / 417.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2429, allocations: 16 kB / 417.5 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2442, allocations: 0.6129 MB / 418.1 MB, free: 7.188 MB / 334.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.00387/0.2481, allocations: 2.632 MB / 420.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.2506, allocations: 0.869 MB / 421.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/0.2513, allocations: 354.6 kB / 421.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.359e-05/0.2514, allocations: 12.66 kB / 421.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2514, allocations: 47.22 kB / 422 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.2514, allocations: 4 kB / 422 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00257/0.254, allocations: 1.408 MB / 423.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003668/0.2544, allocations: 0.9489 MB / 424.3 MB, free: 396 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/0.2553, allocations: 0.7787 MB / 425.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.312e-05/0.2554, allocations: 49.7 kB / 425.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.2557, allocations: 424.9 kB / 425.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.2559, allocations: 244.3 kB / 425.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.2562, allocations: 154.7 kB / 426 MB, free: 14.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2563, allocations: 334 kB / 426.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.2569, allocations: 257.8 kB / 426.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/0.2578, allocations: 0.588 MB / 427.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.259, allocations: 0.6678 MB / 427.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.259, allocations: 0 / 427.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001711/0.2607, allocations: 0.9469 MB / 428.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/0.2608, allocations: 95.38 kB / 428.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2608, allocations: 0 / 428.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.2611, allocations: 124.2 kB / 429 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.2618, allocations: 155.8 kB / 429.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005558/0.2674, allocations: 7.329 MB / 436.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.2684, allocations: 103.3 kB / 436.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.2685, allocations: 23.98 kB / 436.6 MB, free: 3.184 MB / 350.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.0004753/0.269, allocations: 249.5 kB / 436.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.2692, allocations: 102.8 kB / 436.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2694, allocations: 104.9 kB / 437 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2694, allocations: 8 kB / 437 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.2695, allocations: 4 kB / 437 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.2708, allocations: 0.9661 MB / 438 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.2738, allocations: 1.737 MB / 439.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.2739, allocations: 0 / 439.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/0.2746, allocations: 155.8 kB / 439.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.419e-05/0.2747, allocations: 32.84 kB / 439.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.2748, allocations: 15.98 kB / 439.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009523/0.2757, allocations: 1.407 MB / 441.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2758, allocations: 0 / 441.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.2777, allocations: 1.077 MB / 442.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.2782, allocations: 251.7 kB / 442.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.2783, allocations: 23.94 kB / 442.7 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.279, allocations: 43.83 kB / 442.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2791, allocations: 40.59 kB / 442.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.2791, allocations: 19.98 kB / 442.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008063/0.28, allocations: 0.5536 MB / 443.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.28, allocations: 0 / 443.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008942/0.2809, allocations: 295.6 kB / 443.6 MB, free: 11.74 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.0001846/0.2811, allocations: 128.5 kB / 443.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.2831, allocations: 1.397 MB / 445.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2831, allocations: 0 / 445.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006905/0.2838, allocations: 426.5 kB / 445.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.2849, allocations: 274.9 kB / 445.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.288, allocations: 1.677 MB / 447.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/0.2886, allocations: 0.9758 MB / 448.5 MB, free: 6.703 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000508/0.2891, allocations: 131.5 kB / 448.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.2893, allocations: 83.42 kB / 448.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2893, allocations: 0 / 448.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of Templates: time 0.02978/0.3191, allocations: 17.81 MB / 466.5 MB, free: 5.012 MB / 382.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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches