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.001391/0.001391, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001737/0.001737, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 246.4 MB, free: 9.098 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.98 kB / 306.4 MB, free: 0.7539 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/0.08778, allocations: 50.55 MB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006524/0.09436, allocations: 5.606 MB / 362.6 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002701/0.09709, allocations: 1.453 MB / 364 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006956/0.09781, allocations: 15.94 kB / 364.1 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006508/0.0985, allocations: 158.9 kB / 364.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.09961, allocations: 329.3 kB / 364.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.1002, allocations: 227.7 kB / 364.8 MB, free: 6.387 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.1021, allocations: 1.362 MB / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006295/0.1027, allocations: 411.1 kB / 366.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.1035, allocations: 0.506 MB / 367 MB, free: 4.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009352/0.1044, allocations: 0.5835 MB / 367.6 MB, free: 3.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.1047, allocations: 116 kB / 367.7 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.105, allocations: 124 kB / 367.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.1052, allocations: 263.1 kB / 368.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007429/0.106, allocations: 0.6066 MB / 368.7 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.1073, allocations: 1.382 MB / 370.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1073, allocations: 0 / 370.1 MB, free: 1.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1073, allocations: 4 kB / 370.1 MB, free: 1.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.215e-05/0.1074, allocations: 0 / 370.1 MB, free: 1.012 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.1554/0.2628, allocations: 1.476 MB / 371.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2629, allocations: 9.719 kB / 371.6 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.2631, allocations: 128.3 kB / 371.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.2641, allocations: 0.6337 MB / 372.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/0.2643, allocations: 150.3 kB / 372.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2644, allocations: 70.05 kB / 372.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.2659, allocations: 0.9699 MB / 373.5 MB, free: 18.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.266, allocations: 5.172 kB / 373.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.707e-05/0.2661, allocations: 34.56 kB / 373.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.2661, allocations: 22.28 kB / 373.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.2674, allocations: 0.6193 MB / 374.2 MB, free: 18.7 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.004093/0.2715, allocations: 2.63 MB / 376.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.2741, allocations: 0.8766 MB / 377.7 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.2748, allocations: 357.6 kB / 378.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.2748, allocations: 11.3 kB / 378.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.2749, allocations: 50.86 kB / 378.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.796e-06/0.2749, allocations: 0.9375 kB / 378.1 MB, free: 16.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002486/0.2774, allocations: 1.404 MB / 379.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.2776, allocations: 0.9493 MB / 380.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.2785, allocations: 0.7847 MB / 381.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.2786, allocations: 42.64 kB / 381.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.2788, allocations: 413.2 kB / 381.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.279, allocations: 258 kB / 382 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.2793, allocations: 155.2 kB / 382.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/0.2793, allocations: 334.5 kB / 382.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.2799, allocations: 251.6 kB / 382.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007427/0.2806, allocations: 0.5877 MB / 383.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2817, allocations: 0.6633 MB / 383.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2818, allocations: 0 / 383.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001671/0.2834, allocations: 0.9563 MB / 384.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.2835, allocations: 85.34 kB / 385 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2835, allocations: 6.234 kB / 385 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.2838, allocations: 124.4 kB / 385.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.2846, allocations: 154.5 kB / 385.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004403/0.289, allocations: 7.335 MB / 392.6 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.2902, allocations: 106.8 kB / 392.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.2902, allocations: 23.81 kB / 392.7 MB, free: 4.289 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.0004113/0.2906, allocations: 241.7 kB / 392.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.2908, allocations: 108.9 kB / 393.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.291, allocations: 98.84 kB / 393.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.291, allocations: 9.609 kB / 393.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.291, allocations: 0 / 393.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.2923, allocations: 0.9724 MB / 394.1 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.295, allocations: 1.751 MB / 395.9 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2951, allocations: 1.125 kB / 395.9 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/0.2958, allocations: 158.5 kB / 396 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.296, allocations: 21.64 kB / 396.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.296, allocations: 17.8 kB / 396.1 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006346/0.2967, allocations: 1.415 MB / 397.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2967, allocations: 3.938 kB / 397.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2985, allocations: 1.074 MB / 398.6 MB, free: 376 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.2989, allocations: 260.5 kB / 398.8 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.299, allocations: 19.88 kB / 398.8 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.2997, allocations: 43.56 kB / 398.9 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2998, allocations: 40.89 kB / 398.9 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.2998, allocations: 17.91 kB / 398.9 MB, free: 132 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007299/0.3006, allocations: 0.5521 MB / 399.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3006, allocations: 4 kB / 399.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008791/0.3015, allocations: 287.7 kB / 399.8 MB, free: 15.8 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.0001782/0.3017, allocations: 127.2 kB / 399.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.304, allocations: 1.425 MB / 401.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.304, allocations: 2.75 kB / 401.3 MB, free: 14.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.3046, allocations: 433.3 kB / 401.8 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.3058, allocations: 263.4 kB / 402 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.3088, allocations: 2.013 MB / 404 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.3092, allocations: 0.978 MB / 405 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005214/0.3098, allocations: 128.1 kB / 405.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.31, allocations: 78.45 kB / 405.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.31, allocations: 0 / 405.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of Templates: time 0.02864/0.3386, allocations: 17.57 MB / 422.8 MB, free: 11.67 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