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.001563/0.001563, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001558/0.001558, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.33/1.33, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00162/0.00162, allocations: 59.84 kB / 328.1 MB, free: 3.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08518, allocations: 46.61 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.1682/0.2534, allocations: 24.56 MB / 399.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.2568, allocations: 2.493 MB / 401.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.2571, allocations: 13.38 kB / 401.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.2576, allocations: 161.3 kB / 401.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.2582, allocations: 312.1 kB / 402.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.2605, allocations: 1.025 MB / 403.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.2616, allocations: 0.8952 MB / 404.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2618, allocations: 114.5 kB / 404.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.2663, allocations: 3.055 MB / 407.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004299/0.2667, allocations: 273.1 kB / 407.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.2668, allocations: 30.62 kB / 407.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.2674, allocations: 246.4 kB / 407.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2675, allocations: 91.56 kB / 407.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.2678, allocations: 194.4 kB / 408.1 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.2685, allocations: 0.58 MB / 408.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2685, allocations: 1.125 kB / 408.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2685, allocations: 3.938 kB / 408.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2685, allocations: 0 / 408.7 MB, free: 9.508 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.0008495/0.2694, allocations: 0.6305 MB / 409.3 MB, free: 8.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2694, allocations: 14.09 kB / 409.3 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.437e-05/0.2695, allocations: 63.62 kB / 409.4 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.2699, allocations: 50.48 kB / 409.5 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.2703, allocations: 303.8 kB / 409.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2703, allocations: 19 kB / 409.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.2704, allocations: 25 kB / 409.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.2709, allocations: 337 kB / 410.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2709, allocations: 1.312 kB / 410.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.271, allocations: 11.5 kB / 410.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.271, allocations: 6.906 kB / 410.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.2713, allocations: 196.6 kB / 410.3 MB, free: 8.188 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.002225/0.2735, allocations: 2.112 MB / 412.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.2739, allocations: 190.1 kB / 412.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.274, allocations: 86.67 kB / 412.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.2742, allocations: 247.1 kB / 413 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.2742, allocations: 37.56 kB / 413 MB, free: 5.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.2743, allocations: 0 / 413 MB, free: 5.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.002406/0.2767, allocations: 1.03 MB / 414 MB, free: 4.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.2767, allocations: 55.28 kB / 414.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.277, allocations: 264.5 kB / 414.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.277, allocations: 32.42 kB / 414.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2772, allocations: 182.6 kB / 414.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.2773, allocations: 115.5 kB / 414.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.2774, allocations: 69.94 kB / 414.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2775, allocations: 341.4 kB / 415.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.2777, allocations: 89.45 kB / 415.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.2779, allocations: 175.8 kB / 415.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.2783, allocations: 280 kB / 415.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2783, allocations: 1.156 kB / 415.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005803/0.2789, allocations: 389.2 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2789, allocations: 6.438 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2789, allocations: 2.406 kB / 416 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.2793, allocations: 96.47 kB / 416.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.2796, allocations: 71.69 kB / 416.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005645/0.2802, allocations: 0.6505 MB / 416.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.2803, allocations: 7.625 kB / 416.8 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.2804, allocations: 19.5 kB / 416.8 MB, free: 2.641 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.0001703/0.2806, allocations: 157.9 kB / 417 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.2806, allocations: 39.78 kB / 417 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.2813, allocations: 379.1 kB / 417.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2813, allocations: 3.562 kB / 417.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2813, allocations: 0 / 417.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005302/0.2818, allocations: 0.5474 MB / 417.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2829, allocations: 0.7488 MB / 418.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2829, allocations: 0 / 418.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2831, allocations: 35.7 kB / 418.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.2836, allocations: 99.27 kB / 418.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.2836, allocations: 6.594 kB / 418.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.2841, allocations: 0.643 MB / 419.5 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2841, allocations: 1.281 kB / 419.5 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.2849, allocations: 498.6 kB / 420 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.285, allocations: 96.19 kB / 420 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.2851, allocations: 7.688 kB / 420.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2853, allocations: 10.17 kB / 420.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.2853, allocations: 17.58 kB / 420.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.2854, allocations: 17.83 kB / 420.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2856, allocations: 196.2 kB / 420.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2856, allocations: 0 / 420.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.286, allocations: 119.2 kB / 420.4 MB, free: 15.77 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.001135/0.2871, allocations: 1.062 MB / 421.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.2876, allocations: 254 kB / 421.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2877, allocations: 1.375 kB / 421.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2879, allocations: 121.8 kB / 421.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.2888, allocations: 173.6 kB / 422 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.2928, allocations: 3.099 MB / 425.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.2932, allocations: 0.7599 MB / 425.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.2935, allocations: 67.17 kB / 425.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2936, allocations: 99.41 kB / 426 MB, free: 11.36 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2936, allocations: 4 kB / 426 MB, free: 11.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.3412, allocations: 10.28 MB / 436.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.07, allocations: 7.797 kB / 436.3 MB, free: 1.012 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