Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650",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.001162/0.001162, allocations: 114.5 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.001216/0.001216, allocations: 183 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.258/1.258, 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.001256/0.001256, allocations: 51.91 kB / 328.1 MB, free: 3.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.0798, allocations: 46.62 MB / 374.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.1794/0.2593, allocations: 24.56 MB / 399.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00342/0.2627, allocations: 2.488 MB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.2631, allocations: 3.906 kB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006609/0.2637, allocations: 163.3 kB / 401.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007327/0.2645, allocations: 323.3 kB / 402.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.267, allocations: 1.024 MB / 403.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.2681, allocations: 0.8963 MB / 404.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.2683, allocations: 107.8 kB / 404.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.2729, allocations: 3.058 MB / 407.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.2733, allocations: 273.3 kB / 407.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.2733, allocations: 30.03 kB / 407.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.2739, allocations: 238.9 kB / 407.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.274, allocations: 106.8 kB / 407.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001951/0.2742, allocations: 190.8 kB / 408.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.2748, allocations: 0.574 MB / 408.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2749, allocations: 0 / 408.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2749, allocations: 0 / 408.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2749, allocations: 1.094 kB / 408.7 MB, free: 9.52 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007732/0.2757, allocations: 0.6272 MB / 409.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2757, allocations: 9.75 kB / 409.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.684e-05/0.2758, allocations: 62.2 kB / 409.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.2761, allocations: 57.86 kB / 409.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2765, allocations: 300.6 kB / 409.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2766, allocations: 19.34 kB / 409.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2766, allocations: 25.59 kB / 409.8 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004668/0.2771, allocations: 340.4 kB / 410.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2771, allocations: 0 / 410.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.2772, allocations: 13.41 kB / 410.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2772, allocations: 6.75 kB / 410.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.2775, allocations: 191.5 kB / 410.3 MB, free: 8.207 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.001851/0.2793, allocations: 2.114 MB / 412.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.2796, allocations: 186.9 kB / 412.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2797, allocations: 86.69 kB / 412.7 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.2799, allocations: 253.4 kB / 413 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.2799, allocations: 37.56 kB / 413 MB, free: 5.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.2799, allocations: 0 / 413 MB, free: 5.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002343/0.2823, allocations: 1.015 MB / 414 MB, free: 4.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2823, allocations: 54.38 kB / 414.1 MB, free: 4.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.2826, allocations: 272.5 kB / 414.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2826, allocations: 32.17 kB / 414.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2827, allocations: 178.1 kB / 414.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.2828, allocations: 107.3 kB / 414.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.2829, allocations: 70.27 kB / 414.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.283, allocations: 349.7 kB / 415 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2832, allocations: 80.72 kB / 415.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2834, allocations: 175.6 kB / 415.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2837, allocations: 283.2 kB / 415.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2837, allocations: 1.062 kB / 415.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005537/0.2843, allocations: 382.2 kB / 415.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.2843, allocations: 5.625 kB / 415.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2843, allocations: 6.969 kB / 416 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.2847, allocations: 91.41 kB / 416 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.285, allocations: 68.03 kB / 416.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005022/0.2855, allocations: 0.655 MB / 416.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2857, allocations: 7.344 kB / 416.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2857, allocations: 18.69 kB / 416.8 MB, free: 2.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.2859, allocations: 155.2 kB / 416.9 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.286, allocations: 40.11 kB / 417 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.2866, allocations: 383.4 kB / 417.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2866, allocations: 6.422 kB / 417.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2866, allocations: 0 / 417.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005319/0.2871, allocations: 0.5484 MB / 417.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2882, allocations: 0.7354 MB / 418.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2882, allocations: 1.656 kB / 418.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.2884, allocations: 42.59 kB / 418.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/0.2889, allocations: 100.2 kB / 418.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.2889, allocations: 7.281 kB / 418.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000623/0.2896, allocations: 0.6464 MB / 419.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2896, allocations: 0 / 419.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.2903, allocations: 494.5 kB / 419.9 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.2904, allocations: 98.73 kB / 420 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.2904, allocations: 10.88 kB / 420 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2907, allocations: 6.969 kB / 420 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2907, allocations: 15.97 kB / 420.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.2907, allocations: 16.09 kB / 420.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.2909, allocations: 199.4 kB / 420.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2909, allocations: 0 / 420.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004282/0.2914, allocations: 112.8 kB / 420.4 MB, free: 15.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/0.2924, allocations: 1.068 MB / 421.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.2929, allocations: 254.9 kB / 421.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2929, allocations: 0 / 421.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2932, allocations: 119.4 kB / 421.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.294, allocations: 161.6 kB / 422 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.2982, allocations: 3.09 MB / 425.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.2986, allocations: 0.7688 MB / 425.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002903/0.2989, allocations: 67.17 kB / 425.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.299, allocations: 99.39 kB / 426 MB, free: 11.42 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2991, allocations: 0 / 426 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/0.3296, allocations: 10.42 MB / 436.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.23, allocations: 19.73 kB / 436.4 MB, free: 0.918 MB / 350.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Incompressible_Essotherm650.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches