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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2601, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005683/0.2658, allocations: 5.617 MB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2679, allocations: 1.454 MB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.2682, allocations: 15.94 kB / 415.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.2686, allocations: 190.3 kB / 416 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005805/0.2692, allocations: 380.7 kB / 416.4 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.2696, allocations: 271.6 kB / 416.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.2708, allocations: 1.358 MB / 418 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.2713, allocations: 411.1 kB / 418.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004453/0.2717, allocations: 0.5138 MB / 418.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.2723, allocations: 0.5873 MB / 419.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.2724, allocations: 120 kB / 419.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.2726, allocations: 120 kB / 419.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.2728, allocations: 251.2 kB / 420 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.2732, allocations: 0.6222 MB / 420.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.2743, allocations: 1.398 MB / 422 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2743, allocations: 0 / 422 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2743, allocations: 0 / 422 MB, free: 4.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.2743, allocations: 0 / 422 MB, free: 4.168 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.002311/0.2766, allocations: 1.481 MB / 423.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2767, allocations: 8.031 kB / 423.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001732/0.2769, allocations: 132.5 kB / 423.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2771, allocations: 131.5 kB / 423.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.278, allocations: 0.6342 MB / 424.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.2782, allocations: 159.6 kB / 424.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.2783, allocations: 68.38 kB / 424.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.2797, allocations: 0.9861 MB / 425.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2797, allocations: 3.938 kB / 425.6 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.2798, allocations: 32 kB / 425.6 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2798, allocations: 16 kB / 425.7 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.281, allocations: 0.6286 MB / 426.3 MB, free: 15.64 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.003685/0.2847, allocations: 2.644 MB / 428.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.2872, allocations: 0.8726 MB / 429.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006915/0.2879, allocations: 346.7 kB / 430.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.906e-05/0.288, allocations: 20.62 kB / 430.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.288, allocations: 55.16 kB / 430.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.185e-06/0.288, allocations: 0 / 430.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002477/0.2905, allocations: 1.401 MB / 431.6 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003338/0.2909, allocations: 0.9489 MB / 432.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.2917, allocations: 0.7903 MB / 433.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.2918, allocations: 45.7 kB / 433.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.2921, allocations: 420.3 kB / 433.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2923, allocations: 248.4 kB / 434.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2925, allocations: 162.9 kB / 434.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2927, allocations: 329.9 kB / 434.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.2932, allocations: 257.9 kB / 434.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.294, allocations: 0.5926 MB / 435.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2954, allocations: 0.66 MB / 436 MB, free: 5.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2954, allocations: 4 kB / 436 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001757/0.2971, allocations: 0.9548 MB / 437 MB, free: 4.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.2972, allocations: 93.03 kB / 437.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2972, allocations: 0 / 437.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.2976, allocations: 124.2 kB / 437.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.2983, allocations: 151.8 kB / 437.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/0.3036, allocations: 7.337 MB / 444.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009591/0.3046, allocations: 107.2 kB / 444.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/0.3047, allocations: 27.98 kB / 444.8 MB, free: 11.6 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.000368/0.3051, allocations: 237.7 kB / 445.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3052, allocations: 98.88 kB / 445.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.3054, allocations: 100.9 kB / 445.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3054, allocations: 4 kB / 445.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3054, allocations: 4 kB / 445.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/0.3068, allocations: 0.9777 MB / 446.2 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.3095, allocations: 1.748 MB / 448 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3095, allocations: 4 kB / 448 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.3102, allocations: 147.8 kB / 448.1 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.766e-05/0.3103, allocations: 32.78 kB / 448.2 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.3104, allocations: 15.98 kB / 448.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008959/0.3113, allocations: 1.403 MB / 449.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3113, allocations: 0 / 449.6 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.3132, allocations: 1.077 MB / 450.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.3136, allocations: 255.7 kB / 450.9 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3137, allocations: 24 kB / 450.9 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.3144, allocations: 39.97 kB / 451 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3145, allocations: 44.58 kB / 451 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.3146, allocations: 20 kB / 451 MB, free: 5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006616/0.3152, allocations: 0.5497 MB / 451.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3152, allocations: 11.94 kB / 451.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000767/0.316, allocations: 295.6 kB / 451.9 MB, free: 4.152 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.002154/0.3182, allocations: 1.648 MB / 453.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.3203, allocations: 1.39 MB / 454.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3203, allocations: 0 / 454.9 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.321, allocations: 430.5 kB / 455.4 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.322, allocations: 283 kB / 455.6 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3327, allocations: 7.806 MB / 463.4 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3332, allocations: 0.9836 MB / 464.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005062/0.3337, allocations: 127.5 kB / 464.5 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.3342, allocations: 359.3 kB / 464.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3342, allocations: 0 / 464.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08325/0.4174, allocations: 26.8 MB / 491.7 MB, free: 12.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.53, allocations: 16 kB / 491.7 MB, free: 12.41 MB / 414.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > 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