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.001211/0.001211, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.39 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08987, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006224/0.09612, allocations: 5.614 MB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.09848, allocations: 1.448 MB / 366 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.09879, allocations: 16 kB / 366 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.09924, allocations: 202.2 kB / 366.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006013/0.09985, allocations: 380.7 kB / 366.5 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004229/0.1003, allocations: 267.6 kB / 366.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1015, allocations: 1.355 MB / 368.2 MB, free: 4.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.102, allocations: 423 kB / 368.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.1024, allocations: 0.506 MB / 369.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005888/0.103, allocations: 0.5874 MB / 369.7 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.1032, allocations: 116 kB / 369.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1034, allocations: 120 kB / 369.9 MB, free: 2.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1036, allocations: 259.1 kB / 370.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.1041, allocations: 0.6066 MB / 370.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1564/0.2605, allocations: 1.395 MB / 372.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2605, allocations: 0 / 372.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2605, allocations: 1.969 kB / 372.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.304e-05/0.2606, allocations: 0 / 372.1 MB, free: 13.43 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.003231/0.2638, allocations: 1.482 MB / 373.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2639, allocations: 11.75 kB / 373.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.2642, allocations: 131.2 kB / 373.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.2655, allocations: 0.6343 MB / 374.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.2657, allocations: 152.3 kB / 374.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2659, allocations: 66.62 kB / 374.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.2679, allocations: 0.9721 MB / 375.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.2679, allocations: 5.328 kB / 375.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.268, allocations: 34.47 kB / 375.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.268, allocations: 17 kB / 375.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.2701, allocations: 0.6193 MB / 376.3 MB, free: 11.77 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.00566/0.2758, allocations: 2.634 MB / 378.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/0.2797, allocations: 0.8682 MB / 379.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2807, allocations: 345.2 kB / 380.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.2808, allocations: 23.41 kB / 380.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2809, allocations: 46.19 kB / 380.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.627e-06/0.2809, allocations: 1.156 kB / 380.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003308/0.2842, allocations: 1.403 MB / 381.6 MB, free: 9.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.2844, allocations: 0.9515 MB / 382.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.2858, allocations: 0.7889 MB / 383.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.409e-05/0.2859, allocations: 45.48 kB / 383.4 MB, free: 7.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.2862, allocations: 409.1 kB / 383.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.2864, allocations: 250.5 kB / 384 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.2868, allocations: 159.6 kB / 384.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.2869, allocations: 333.6 kB / 384.5 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007795/0.2877, allocations: 258.1 kB / 384.7 MB, free: 6.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.2888, allocations: 0.5873 MB / 385.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.2905, allocations: 0.6647 MB / 386 MB, free: 6.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2905, allocations: 3.938 kB / 386 MB, free: 6.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002379/0.2929, allocations: 0.9509 MB / 386.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.293, allocations: 85.94 kB / 387 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.293, allocations: 1.438 kB / 387 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004629/0.2935, allocations: 127 kB / 387.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.2944, allocations: 156.2 kB / 387.3 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.2995, allocations: 7.329 MB / 394.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009635/0.3005, allocations: 107.9 kB / 394.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.3006, allocations: 24.8 kB / 394.8 MB, free: 14.19 MB / 318.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.0003906/0.301, allocations: 237.7 kB / 395 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3012, allocations: 106.4 kB / 395.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.3013, allocations: 100.2 kB / 395.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3014, allocations: 6.969 kB / 395.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.3014, allocations: 1.875 kB / 395.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.3027, allocations: 0.9675 MB / 396.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.3057, allocations: 1.746 MB / 397.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3057, allocations: 0.5625 kB / 397.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.3065, allocations: 158.8 kB / 398.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.375e-05/0.3066, allocations: 26.64 kB / 398.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.3066, allocations: 14.66 kB / 398.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009006/0.3076, allocations: 1.408 MB / 399.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3076, allocations: 0 / 399.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.3095, allocations: 1.074 MB / 400.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.3099, allocations: 263.5 kB / 400.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3101, allocations: 22.73 kB / 400.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.3107, allocations: 42.23 kB / 400.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.3108, allocations: 44.2 kB / 401 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.3109, allocations: 16.53 kB / 401 MB, free: 10.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006876/0.3115, allocations: 0.5494 MB / 401.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3116, allocations: 0 / 401.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007874/0.3123, allocations: 292.2 kB / 401.8 MB, free: 9.789 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.0001764/0.3125, allocations: 130 kB / 401.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3146, allocations: 1.392 MB / 403.3 MB, free: 8.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3146, allocations: 5.719 kB / 403.3 MB, free: 8.715 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.3153, allocations: 422.4 kB / 403.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3164, allocations: 288.1 kB / 404 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.3193, allocations: 1.68 MB / 405.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.3197, allocations: 0.9749 MB / 406.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005363/0.3203, allocations: 130.7 kB / 406.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.3205, allocations: 79.45 kB / 406.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3205, allocations: 0 / 406.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of Templates: time 0.0258/0.3463, allocations: 17.64 MB / 424.5 MB, free: 5.938 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 -s gbode -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