Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 105.3 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 192 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 43.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2468, allocations: 49.44 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.0062/0.253, allocations: 4.945 MB / 405.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2554, allocations: 1.277 MB / 406.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.2556, allocations: 11.94 kB / 406.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.2561, allocations: 166.5 kB / 406.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.2567, allocations: 313.3 kB / 406.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.2571, allocations: 227.6 kB / 407.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2583, allocations: 1.167 MB / 408.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004499/0.2587, allocations: 330 kB / 408.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.2592, allocations: 434.5 kB / 409.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.2598, allocations: 0.5057 MB / 409.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.2599, allocations: 100 kB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2601, allocations: 104 kB / 409.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.2603, allocations: 215.2 kB / 410 MB, free: 15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.2608, allocations: 0.5249 MB / 410.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.2621, allocations: 1.178 MB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2621, allocations: 4 kB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2621, allocations: 0 / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.2621, allocations: 0 / 411.7 MB, free: 13.29 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.002343/0.2644, allocations: 1.34 MB / 413 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2645, allocations: 12.03 kB / 413.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.2647, allocations: 127.8 kB / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.2649, allocations: 116.3 kB / 413.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.2657, allocations: 0.5519 MB / 413.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.266, allocations: 143 kB / 414 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.2661, allocations: 64.38 kB / 414 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2675, allocations: 0.8742 MB / 414.9 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2675, allocations: 3.938 kB / 414.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.051e-05/0.2676, allocations: 28 kB / 414.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.2676, allocations: 12 kB / 415 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.2689, allocations: 0.5673 MB / 415.5 MB, free: 9.219 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.00337/0.2722, allocations: 2.139 MB / 417.7 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2741, allocations: 0.9557 MB / 418.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/0.2749, allocations: 380.7 kB / 419 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.704e-05/0.2749, allocations: 16.72 kB / 419 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.275, allocations: 51.16 kB / 419.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.204e-06/0.275, allocations: 0 / 419.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004819/0.2798, allocations: 1.742 MB / 420.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004349/0.2803, allocations: 0.8234 MB / 421.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/0.2811, allocations: 0.641 MB / 422.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.2811, allocations: 45.7 kB / 422.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.2814, allocations: 341.4 kB / 422.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.2817, allocations: 273.6 kB / 422.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.2819, allocations: 142.7 kB / 423.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.2822, allocations: 382.8 kB / 423.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005436/0.2827, allocations: 249.9 kB / 423.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.2835, allocations: 0.5273 MB / 424.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.2847, allocations: 0.6349 MB / 424.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2847, allocations: 3.938 kB / 424.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002404/0.2871, allocations: 1.056 MB / 425.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.2872, allocations: 85.11 kB / 426 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2872, allocations: 0 / 426 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.2879, allocations: 231.3 kB / 426.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.2885, allocations: 123.8 kB / 426.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008863/0.2974, allocations: 6.947 MB / 433.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.2982, allocations: 95.52 kB / 433.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.2982, allocations: 20 kB / 433.4 MB, free: 6.102 MB / 350.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.0003296/0.2986, allocations: 213.8 kB / 433.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2987, allocations: 95.41 kB / 433.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2989, allocations: 99.28 kB / 433.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2989, allocations: 4 kB / 433.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2989, allocations: 4 kB / 433.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00237/0.3013, allocations: 1.182 MB / 435 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.3049, allocations: 1.867 MB / 436.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3049, allocations: 4.062 kB / 436.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.3056, allocations: 127.9 kB / 437 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.3061, allocations: 194.7 kB / 437.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.3062, allocations: 19.98 kB / 437.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/0.3126, allocations: 5.315 MB / 442.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3126, allocations: 4 kB / 442.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.3157, allocations: 1.317 MB / 443.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.316, allocations: 248.3 kB / 444.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.3161, allocations: 20 kB / 444.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005804/0.3167, allocations: 39.91 kB / 444.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.3169, allocations: 60.58 kB / 444.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.3169, allocations: 19.98 kB / 444.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.3175, allocations: 463 kB / 444.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3175, allocations: 0 / 444.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.3184, allocations: 283.8 kB / 444.9 MB, free: 9.887 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.003249/0.3217, allocations: 1.9 MB / 446.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.3239, allocations: 1.305 MB / 448.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3239, allocations: 0 / 448.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009827/0.3249, allocations: 0.691 MB / 448.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.3258, allocations: 235.2 kB / 449 MB, free: 5.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.3381, allocations: 7.452 MB / 456.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.3388, allocations: 0.9401 MB / 457.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.3392, allocations: 110.4 kB / 457.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.3396, allocations: 291.3 kB / 457.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.3396, allocations: 0 / 457.8 MB, free: 12.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09592/0.4355, allocations: 25.42 MB / 483.3 MB, free: 3.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.57, allocations: 4.703 kB / 483.3 MB, free: 3.574 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches