Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_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.0009861/0.0009861, allocations: 113.4 kB / 17.73 MB, free: 5.34 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.0009846/0.0009847, allocations: 184.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 55.91 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.08374, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006465/0.09026, allocations: 4.929 MB / 379.6 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1722/0.2625, allocations: 1.326 MB / 380.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007908/0.2634, allocations: 10.78 kB / 380.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.2641, allocations: 165.2 kB / 381.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2651, allocations: 314.3 kB / 381.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.2658, allocations: 231 kB / 381.6 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.2674, allocations: 1.162 MB / 382.8 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.2679, allocations: 326.3 kB / 383.1 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.2686, allocations: 444.9 kB / 383.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.2692, allocations: 0.5 MB / 384 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.2693, allocations: 106.2 kB / 384.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.2695, allocations: 103.9 kB / 384.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.2697, allocations: 223.8 kB / 384.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.2701, allocations: 0.5047 MB / 385 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.2712, allocations: 1.185 MB / 386.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2712, allocations: 0 / 386.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2712, allocations: 1.719 kB / 386.1 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.2712, allocations: 0 / 386.1 MB, free: 7.418 MB / 318.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.002013/0.2732, allocations: 1.315 MB / 387.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2733, allocations: 10.12 kB / 387.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.2735, allocations: 120.8 kB / 387.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.2736, allocations: 111.5 kB / 387.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.2744, allocations: 0.5579 MB / 388.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.2746, allocations: 144.5 kB / 388.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.2747, allocations: 62.12 kB / 388.4 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.2759, allocations: 0.8568 MB / 389.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.276, allocations: 3.906 kB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.276, allocations: 37.28 kB / 389.3 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.276, allocations: 14.19 kB / 389.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2772, allocations: 0.5645 MB / 389.9 MB, free: 5.074 MB / 318.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.002993/0.2802, allocations: 2.121 MB / 392 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.2817, allocations: 0.9624 MB / 393 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/0.2823, allocations: 369.2 kB / 393.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.2824, allocations: 20.05 kB / 393.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2824, allocations: 57.94 kB / 393.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.2824, allocations: 0 / 393.4 MB, free: 3.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004498/0.2869, allocations: 1.744 MB / 395.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.2871, allocations: 0.8228 MB / 396 MB, free: 1.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.2878, allocations: 0.6374 MB / 396.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2879, allocations: 46.12 kB / 396.7 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.2881, allocations: 339.5 kB / 397 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.2882, allocations: 249.5 kB / 397.3 MB, free: 484 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.2884, allocations: 154 kB / 397.4 MB, free: 404 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.2886, allocations: 385 kB / 397.8 MB, free: 52 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/0.2891, allocations: 253.3 kB / 398 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009416/0.2901, allocations: 0.5507 MB / 398.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.2911, allocations: 0.6323 MB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2911, allocations: 0 / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002271/0.2934, allocations: 1.048 MB / 400.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.339e-05/0.2935, allocations: 89.2 kB / 400.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2935, allocations: 1.375 kB / 400.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.2941, allocations: 241.2 kB / 400.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.2947, allocations: 130 kB / 400.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007254/0.3019, allocations: 6.929 MB / 407.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/0.3029, allocations: 90.06 kB / 407.7 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.303, allocations: 25.09 kB / 407.8 MB, free: 8.289 MB / 334.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.0003848/0.3034, allocations: 228.3 kB / 408 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.3036, allocations: 92.53 kB / 408.1 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001697/0.3037, allocations: 89.84 kB / 408.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3038, allocations: 7.719 kB / 408.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3038, allocations: 0 / 408.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002232/0.306, allocations: 1.192 MB / 409.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/0.3097, allocations: 1.865 MB / 411.2 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3097, allocations: 5.156 kB / 411.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.3104, allocations: 127.9 kB / 411.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005628/0.311, allocations: 206.8 kB / 411.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.311, allocations: 11.69 kB / 411.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006527/0.3176, allocations: 5.307 MB / 416.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3176, allocations: 1.281 kB / 416.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.3208, allocations: 1.319 MB / 418.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.3214, allocations: 238 kB / 418.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.3217, allocations: 22.78 kB / 418.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/0.3224, allocations: 43.09 kB / 418.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3226, allocations: 59.17 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3226, allocations: 22.14 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006197/0.3233, allocations: 457.2 kB / 419 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3233, allocations: 0 / 419 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001229/0.3245, allocations: 285 kB / 419.3 MB, free: 15.25 MB / 350.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.003328/0.3278, allocations: 1.882 MB / 421.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002141/0.33, allocations: 1.305 MB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.33, allocations: 1.688 kB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.3311, allocations: 0.6931 MB / 423.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3324, allocations: 226.3 kB / 423.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.3447, allocations: 7.444 MB / 430.8 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.3452, allocations: 0.94 MB / 431.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004845/0.3457, allocations: 102.4 kB / 431.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/0.3461, allocations: 291.3 kB / 432.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3461, allocations: 3.938 kB / 432.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09388/0.44, allocations: 26.05 MB / 458.2 MB, free: 8.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.62, allocations: 15.78 kB / 458.2 MB, free: 8.895 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches