Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, 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.001864/0.001864, 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.268/1.268, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 59.62 kB / 306.3 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08793, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005388/0.09335, allocations: 4.964 MB / 361.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.09567, allocations: 1.32 MB / 363.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.09631, allocations: 11.94 kB / 363.2 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005355/0.09686, allocations: 131.1 kB / 363.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008404/0.09771, allocations: 281.8 kB / 363.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.09822, allocations: 191.8 kB / 363.8 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.0994, allocations: 1.105 MB / 364.9 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.0998, allocations: 298.6 kB / 365.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.1003, allocations: 418.4 kB / 365.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.1009, allocations: 482 kB / 366 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.1011, allocations: 72 kB / 366.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.1013, allocations: 80 kB / 366.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.1015, allocations: 191.3 kB / 366.4 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.102, allocations: 0.4899 MB / 366.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.1029, allocations: 1.133 MB / 368 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1029, allocations: 0 / 368 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.103, allocations: 0 / 368 MB, free: 3.227 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.103, allocations: 0 / 368 MB, free: 3.227 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002447/0.1054, allocations: 1.316 MB / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1055, allocations: 11.97 kB / 369.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.1057, allocations: 119.8 kB / 369.4 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1059, allocations: 107.8 kB / 369.6 MB, free: 1.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007442/0.1066, allocations: 0.5512 MB / 370.1 MB, free: 1.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.1068, allocations: 143 kB / 370.2 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-05/0.1069, allocations: 68.38 kB / 370.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1558/0.2627, allocations: 0.8531 MB / 371.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.2628, allocations: 0.5 kB / 371.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.2629, allocations: 35.52 kB / 371.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.2629, allocations: 14.3 kB / 371.2 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.2643, allocations: 0.5684 MB / 371.8 MB, free: 19.63 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.003361/0.2676, allocations: 2.134 MB / 373.9 MB, free: 18.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2693, allocations: 0.9646 MB / 374.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.2699, allocations: 375.1 kB / 375.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.155e-05/0.27, allocations: 12.78 kB / 375.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.27, allocations: 60.72 kB / 375.3 MB, free: 17.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/0.27, allocations: 1.375 kB / 375.3 MB, free: 17.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004558/0.2746, allocations: 1.733 MB / 377.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.2748, allocations: 0.8228 MB / 377.9 MB, free: 16.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007183/0.2755, allocations: 0.6348 MB / 378.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.2756, allocations: 45.83 kB / 378.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.2758, allocations: 344.7 kB / 378.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.2759, allocations: 253 kB / 379.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2762, allocations: 145.6 kB / 379.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2763, allocations: 385 kB / 379.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.2768, allocations: 244.9 kB / 379.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/0.2775, allocations: 0.5319 MB / 380.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2785, allocations: 0.6389 MB / 381.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2785, allocations: 0 / 381.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002177/0.2807, allocations: 1.046 MB / 382.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.2807, allocations: 88.94 kB / 382.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2808, allocations: 1.656 kB / 382.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.2814, allocations: 237 kB / 382.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.282, allocations: 127.9 kB / 382.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/0.2881, allocations: 6.369 MB / 388.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007617/0.2889, allocations: 96.23 kB / 389 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.289, allocations: 22.5 kB / 389 MB, free: 7.617 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.2893, allocations: 226.4 kB / 389.3 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2894, allocations: 90.14 kB / 389.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.2896, allocations: 94.98 kB / 389.4 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.2896, allocations: 7.469 kB / 389.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.2896, allocations: 4.953 kB / 389.5 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002023/0.2916, allocations: 1.182 MB / 390.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.2954, allocations: 1.883 MB / 392.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.2954, allocations: 4 kB / 392.5 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/0.2959, allocations: 122.7 kB / 392.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005172/0.2965, allocations: 200.5 kB / 392.8 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/0.2965, allocations: 18.86 kB / 392.9 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004538/0.3011, allocations: 4.876 MB / 397.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3011, allocations: 0 / 397.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.3036, allocations: 1.314 MB / 399 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.3039, allocations: 246.3 kB / 399.3 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.304, allocations: 18.88 kB / 399.3 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.3047, allocations: 40.59 kB / 399.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.3048, allocations: 58.69 kB / 399.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.3049, allocations: 17.75 kB / 399.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005607/0.3054, allocations: 462.4 kB / 399.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3054, allocations: 4 kB / 399.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009063/0.3063, allocations: 289.1 kB / 400.2 MB, free: 15.63 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003064/0.3094, allocations: 1.885 MB / 402 MB, free: 14.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001922/0.3114, allocations: 1.288 MB / 403.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3114, allocations: 3.938 kB / 403.3 MB, free: 13.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.3122, allocations: 0.6949 MB / 404 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009394/0.3132, allocations: 217.4 kB / 404.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3255, allocations: 8.169 MB / 412.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3261, allocations: 0.9439 MB / 413.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.3266, allocations: 102.4 kB / 413.5 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/0.3269, allocations: 295.3 kB / 413.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of SimCode: time 8.21e-07/0.327, allocations: 0 / 413.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.3668, allocations: 23.71 MB / 437.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.3671, allocations: 250.9 kB / 437.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.384/2.751, allocations: 0 / 437.7 MB, free: 12.42 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches