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.001514/0.001513, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 67.88 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2334, allocations: 50.55 MB / 408.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006001/0.2395, allocations: 4.946 MB / 413.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2417, allocations: 1.32 MB / 415.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.242, allocations: 11.94 kB / 415.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.2424, allocations: 166.6 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005752/0.243, allocations: 313.2 kB / 415.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2434, allocations: 223.6 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.2447, allocations: 1.172 MB / 417 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.2451, allocations: 322 kB / 417.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.2456, allocations: 446.5 kB / 417.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.2462, allocations: 0.4941 MB / 418.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.2464, allocations: 104 kB / 418.3 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.2466, allocations: 104 kB / 418.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.2468, allocations: 223.2 kB / 418.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.2473, allocations: 0.5134 MB / 419.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.2485, allocations: 1.186 MB / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2485, allocations: 0 / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.2486, allocations: 0 / 420.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.2486, allocations: 3.938 kB / 420.3 MB, free: 5.879 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00235/0.2509, allocations: 1.34 MB / 421.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.251, allocations: 15.97 kB / 421.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.2512, allocations: 119.9 kB / 421.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.2514, allocations: 116.3 kB / 421.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.2523, allocations: 0.5518 MB / 422.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.2525, allocations: 143 kB / 422.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.2526, allocations: 68.36 kB / 422.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.254, allocations: 0.8548 MB / 423.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.254, allocations: 4 kB / 423.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.088e-05/0.2541, allocations: 35.98 kB / 423.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2541, allocations: 12 kB / 423.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2554, allocations: 0.5672 MB / 424.2 MB, free: 1.824 MB / 334.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.00347/0.2588, allocations: 2.132 MB / 426.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.2607, allocations: 0.9641 MB / 427.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.2614, allocations: 373.7 kB / 427.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.2615, allocations: 8.656 kB / 427.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.2615, allocations: 51.16 kB / 427.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.2615, allocations: 0 / 427.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004871/0.2664, allocations: 1.742 MB / 429.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004566/0.2669, allocations: 0.8311 MB / 430.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008207/0.2677, allocations: 0.6371 MB / 430.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.2678, allocations: 45.7 kB / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.2681, allocations: 341.4 kB / 431.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.2683, allocations: 269.6 kB / 431.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.2686, allocations: 142.7 kB / 431.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2688, allocations: 390.7 kB / 432 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.2693, allocations: 245.9 kB / 432.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.2702, allocations: 0.5273 MB / 432.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.2714, allocations: 0.631 MB / 433.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2714, allocations: 0 / 433.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002459/0.2739, allocations: 1.056 MB / 434.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.2739, allocations: 85.11 kB / 434.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.274, allocations: 4 kB / 434.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.2747, allocations: 239.2 kB / 434.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.2752, allocations: 123.8 kB / 434.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008308/0.2835, allocations: 6.94 MB / 441.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.2844, allocations: 91.52 kB / 442 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.2845, allocations: 28.09 kB / 442 MB, free: 14.72 MB / 366.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.0003472/0.2848, allocations: 217.7 kB / 442.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.285, allocations: 99.41 kB / 442.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.2852, allocations: 87.34 kB / 442.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2852, allocations: 8 kB / 442.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2852, allocations: 0 / 442.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002296/0.2875, allocations: 1.194 MB / 443.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/0.2912, allocations: 1.871 MB / 445.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2912, allocations: 0 / 445.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.2918, allocations: 131.8 kB / 445.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.2924, allocations: 202.5 kB / 445.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.2924, allocations: 12 kB / 445.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.299, allocations: 5.315 MB / 451.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.299, allocations: 3.938 kB / 451.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.3021, allocations: 1.321 MB / 452.4 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.3025, allocations: 248.5 kB / 452.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.3026, allocations: 24 kB / 452.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.3032, allocations: 39.91 kB / 452.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.3033, allocations: 60.58 kB / 452.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.3034, allocations: 23.98 kB / 452.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005869/0.304, allocations: 459.1 kB / 453.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.304, allocations: 0 / 453.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008329/0.3048, allocations: 279.8 kB / 453.6 MB, free: 2.488 MB / 366.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.003283/0.3081, allocations: 1.895 MB / 455.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3102, allocations: 1.293 MB / 456.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3103, allocations: 4 kB / 456.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.3113, allocations: 0.6951 MB / 457.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009989/0.3123, allocations: 234.9 kB / 457.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.3249, allocations: 7.447 MB / 465.1 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3255, allocations: 0.9401 MB / 466.1 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.326, allocations: 106.4 kB / 466.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.3264, allocations: 299.3 kB / 466.5 MB, free: 5.188 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3264, allocations: 0 / 466.5 MB, free: 5.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/0.3923, allocations: 25.42 MB / 491.9 MB, free: 12.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.23, allocations: 11.98 kB / 491.9 MB, free: 12.14 MB / 414.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.1.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