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.0009999/0.0009998, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009943/0.0009943, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 62.28 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09158, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006143/0.09776, allocations: 5.625 MB / 362.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1005, allocations: 1.468 MB / 364 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.1012, allocations: 11.94 kB / 364 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.1019, allocations: 154.9 kB / 364.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009243/0.1028, allocations: 341.3 kB / 364.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.1033, allocations: 223.8 kB / 364.7 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1044, allocations: 1.296 MB / 366 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004378/0.1049, allocations: 368.3 kB / 366.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004191/0.1053, allocations: 482.1 kB / 366.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.1058, allocations: 0.5601 MB / 367.4 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.1059, allocations: 84 kB / 367.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1061, allocations: 88 kB / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1063, allocations: 231.1 kB / 367.8 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.1068, allocations: 0.5792 MB / 368.3 MB, free: 2.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.1078, allocations: 1.355 MB / 369.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1078, allocations: 0 / 369.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1078, allocations: 0 / 369.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1078, allocations: 0 / 369.7 MB, free: 1.309 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.1544/0.2623, allocations: 1.478 MB / 371.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.2623, allocations: 10.11 kB / 371.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002067/0.2625, allocations: 129.7 kB / 371.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.2628, allocations: 129.2 kB / 371.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/0.2636, allocations: 0.6295 MB / 372.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.2638, allocations: 152 kB / 372.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.2639, allocations: 73.34 kB / 372.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.2653, allocations: 0.9799 MB / 373.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2653, allocations: 0 / 373.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.2654, allocations: 33.69 kB / 373.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.2654, allocations: 17.03 kB / 373.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2667, allocations: 0.6382 MB / 374 MB, free: 18.26 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.003604/0.2703, allocations: 2.662 MB / 376.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.2726, allocations: 0.8725 MB / 377.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.2733, allocations: 350.6 kB / 377.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.675e-05/0.2733, allocations: 24.08 kB / 377.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2734, allocations: 51.48 kB / 377.9 MB, free: 16.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.014e-06/0.2734, allocations: 0 / 377.9 MB, free: 16.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002243/0.2756, allocations: 1.401 MB / 379.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.2758, allocations: 0.9482 MB / 380.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.2767, allocations: 0.7934 MB / 381.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.2767, allocations: 46.61 kB / 381.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.277, allocations: 413.6 kB / 381.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.2771, allocations: 253.2 kB / 381.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.2773, allocations: 156.5 kB / 381.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.2774, allocations: 338.5 kB / 382.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.2779, allocations: 253.2 kB / 382.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.2786, allocations: 0.5958 MB / 383.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.2796, allocations: 0.6587 MB / 383.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.2796, allocations: 2.156 kB / 383.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001495/0.2811, allocations: 0.9468 MB / 384.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.009e-05/0.2812, allocations: 86.08 kB / 384.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2812, allocations: 1.25 kB / 384.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.2815, allocations: 133.3 kB / 384.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/0.2822, allocations: 153 kB / 385 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/0.2859, allocations: 6.786 MB / 391.8 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.2867, allocations: 111.3 kB / 391.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.2867, allocations: 28.61 kB / 392 MB, free: 4.348 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.0003288/0.2871, allocations: 238.6 kB / 392.2 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.2872, allocations: 107.8 kB / 392.3 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.2874, allocations: 106 kB / 392.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.2874, allocations: 7.266 kB / 392.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.2874, allocations: 1.219 kB / 392.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.2886, allocations: 0.969 MB / 393.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.2912, allocations: 1.752 MB / 395.1 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2912, allocations: 4.656 kB / 395.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.292, allocations: 155.2 kB / 395.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.392e-05/0.2921, allocations: 25.53 kB / 395.3 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.2921, allocations: 13.77 kB / 395.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/0.2928, allocations: 1.306 MB / 396.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2928, allocations: 1.156 kB / 396.6 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.2946, allocations: 1.077 MB / 397.7 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.295, allocations: 259.2 kB / 398 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.2951, allocations: 22.81 kB / 398 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.2957, allocations: 43.78 kB / 398 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2958, allocations: 44.88 kB / 398.1 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.2959, allocations: 21.89 kB / 398.1 MB, free: 296 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006992/0.2966, allocations: 0.5441 MB / 398.6 MB, free: 56 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2966, allocations: 0 / 398.6 MB, free: 56 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008557/0.2975, allocations: 298.9 kB / 398.9 MB, free: 8 kB / 302.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.002195/0.2997, allocations: 1.65 MB / 400.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.3018, allocations: 1.388 MB / 402 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3018, allocations: 5.812 kB / 402 MB, free: 13.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.3025, allocations: 422 kB / 402.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3038, allocations: 259.5 kB / 402.6 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.3151, allocations: 8.82 MB / 411.5 MB, free: 5.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.3157, allocations: 0.9797 MB / 412.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005876/0.3163, allocations: 131.5 kB / 412.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.3167, allocations: 355.3 kB / 412.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3167, allocations: 0 / 412.9 MB, free: 4.383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.3554, allocations: 24.77 MB / 437.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.3556, allocations: 240 kB / 437.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.729, allocations: 0 / 437.9 MB, free: 11.78 MB / 350.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