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.001114/0.001114, allocations: 107 kB / 17.06 MB, free: 6.094 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.001206/0.001206, allocations: 195 kB / 18 MB, free: 5.172 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.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009867/0.0009867, allocations: 47.92 kB / 350.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2484, allocations: 49.43 MB / 400.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005541/0.254, allocations: 4.943 MB / 405.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.2563, allocations: 1.283 MB / 406.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.2568, allocations: 15.94 kB / 406.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.2573, allocations: 162.6 kB / 406.6 MB, free: 2.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008076/0.2581, allocations: 317.2 kB / 406.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2586, allocations: 223.6 kB / 407.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001119/0.2597, allocations: 1.167 MB / 408.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.2602, allocations: 326 kB / 408.6 MB, free: 328 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004297/0.2606, allocations: 446.5 kB / 409.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.2611, allocations: 0.5018 MB / 409.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.2613, allocations: 100 kB / 409.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.2614, allocations: 104 kB / 409.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2616, allocations: 219.2 kB / 410 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000406/0.262, allocations: 0.5134 MB / 410.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009635/0.263, allocations: 1.176 MB / 411.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.263, allocations: 0 / 411.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.263, allocations: 4 kB / 411.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.263, allocations: 0 / 411.7 MB, free: 13.26 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.002559/0.2656, allocations: 1.317 MB / 413 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.2656, allocations: 8.031 kB / 413 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.2658, allocations: 119.9 kB / 413.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.266, allocations: 115.7 kB / 413.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008476/0.2669, allocations: 0.5513 MB / 413.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.2671, allocations: 146.9 kB / 413.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.2672, allocations: 68.28 kB / 414 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.2685, allocations: 0.8626 MB / 414.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2685, allocations: 4 kB / 414.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.1e-05/0.2686, allocations: 28 kB / 414.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.2686, allocations: 15.94 kB / 414.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.2697, allocations: 0.5789 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.00323/0.273, allocations: 2.123 MB / 417.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.2747, allocations: 0.9596 MB / 418.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.2753, allocations: 379 kB / 418.9 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.927e-05/0.2754, allocations: 20.7 kB / 419 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.2755, allocations: 51.16 kB / 419 MB, free: 5.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.2755, allocations: 1.641 kB / 419 MB, free: 5.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004645/0.2801, allocations: 1.73 MB / 420.7 MB, free: 3.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003625/0.2805, allocations: 0.8272 MB / 421.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.2813, allocations: 0.6449 MB / 422.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/0.2813, allocations: 45.7 kB / 422.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.2816, allocations: 340.9 kB / 422.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.2818, allocations: 256.2 kB / 422.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.282, allocations: 146.7 kB / 423 MB, free: 1.223 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2822, allocations: 382.8 kB / 423.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.2827, allocations: 245.9 kB / 423.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.2835, allocations: 0.5273 MB / 424.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2846, allocations: 0.631 MB / 424.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2846, allocations: 0 / 424.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002302/0.2869, allocations: 1.048 MB / 425.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.287, allocations: 89.09 kB / 425.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.287, allocations: 3.938 kB / 425.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/0.2877, allocations: 235.2 kB / 426.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.2883, allocations: 127.8 kB / 426.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007673/0.2959, allocations: 6.935 MB / 433.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.2968, allocations: 95.31 kB / 433.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.2969, allocations: 23.98 kB / 433.3 MB, free: 6.137 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.0003397/0.2972, allocations: 217.7 kB / 433.5 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.2974, allocations: 90.91 kB / 433.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.2975, allocations: 91.34 kB / 433.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2976, allocations: 8 kB / 433.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2976, allocations: 7.984 kB / 433.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/0.2997, allocations: 1.182 MB / 434.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.3031, allocations: 1.867 MB / 436.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.3031, allocations: 4 kB / 436.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006052/0.3037, allocations: 131.9 kB / 436.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005555/0.3043, allocations: 190.5 kB / 437.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.3043, allocations: 20 kB / 437.1 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00602/0.3104, allocations: 5.311 MB / 442.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3104, allocations: 8.031 kB / 442.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.3134, allocations: 1.308 MB / 443.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.3139, allocations: 239.9 kB / 444 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.314, allocations: 20 kB / 444 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.3146, allocations: 39.91 kB / 444 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.3148, allocations: 60.56 kB / 444.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3149, allocations: 20 kB / 444.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.3154, allocations: 463 kB / 444.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3154, allocations: 0 / 444.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008601/0.3163, allocations: 283.7 kB / 444.8 MB, free: 9.938 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.003267/0.3196, allocations: 1.895 MB / 446.7 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.3226, allocations: 1.297 MB / 448 MB, free: 6.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3226, allocations: 4.062 kB / 448 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009993/0.3236, allocations: 0.6948 MB / 448.7 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.3247, allocations: 227.2 kB / 448.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.3374, allocations: 7.418 MB / 456.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.3381, allocations: 0.9479 MB / 457.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004734/0.3385, allocations: 94.44 kB / 457.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.339, allocations: 299.3 kB / 457.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.339, allocations: 4 kB / 457.7 MB, free: 12.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.401, allocations: 26.04 MB / 483.7 MB, free: 3.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.08, allocations: 8.641 kB / 483.8 MB, free: 3.035 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