Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.005528/0.005528, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001253/0.001253, allocations: 195.8 kB / 16.79 MB, free: 6.242 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3159/0.3159, allocations: 43.5 MB / 313.5 MB, free: 8.266 MB / 254.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.001321/0.001321, allocations: 67.91 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1067, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.2251/0.3319, allocations: 31.35 MB / 471.3 MB, free: 33.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.3381, allocations: 4.784 MB / 476.1 MB, free: 30.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006364/0.3387, allocations: 32.56 kB / 476.1 MB, free: 30.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.3396, allocations: 250.7 kB / 476.3 MB, free: 30.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.3434, allocations: 1.608 MB / 477.9 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.3466, allocations: 1.352 MB / 479.3 MB, free: 28.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.3493, allocations: 2.716 MB / 482 MB, free: 27.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006257/0.3499, allocations: 417.8 kB / 482.4 MB, free: 27.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/0.3556, allocations: 3.35 MB / 485.8 MB, free: 27.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.3578, allocations: 1.404 MB / 487.2 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.3579, allocations: 32.91 kB / 487.2 MB, free: 26.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.3607, allocations: 1.419 MB / 488.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.3611, allocations: 248.8 kB / 488.9 MB, free: 26.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000594/0.3617, allocations: 370.5 kB / 489.2 MB, free: 26.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.3643, allocations: 1.465 MB / 490.7 MB, free: 25.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3643, allocations: 0 / 490.7 MB, free: 25.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3644, allocations: 1.188 kB / 490.7 MB, free: 25.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3644, allocations: 0 / 490.7 MB, free: 25.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002616/0.367, allocations: 1.147 MB / 491.8 MB, free: 24.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.3671, allocations: 9.156 kB / 491.9 MB, free: 24.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.3672, allocations: 98.22 kB / 491.9 MB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.3682, allocations: 144.2 kB / 492.1 MB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008061/0.369, allocations: 0.5116 MB / 492.6 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3692, allocations: 109.3 kB / 492.7 MB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.3693, allocations: 52.77 kB / 492.8 MB, free: 24.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.3707, allocations: 0.8344 MB / 493.6 MB, free: 23.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.3707, allocations: 6.125 kB / 493.6 MB, free: 23.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3708, allocations: 24.22 kB / 493.6 MB, free: 23.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.3709, allocations: 43.78 kB / 493.7 MB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.372, allocations: 0.6028 MB / 494.3 MB, free: 23.46 MB / 382.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.004764/0.3768, allocations: 4.893 MB / 499.2 MB, free: 19.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.3775, allocations: 331.8 kB / 499.5 MB, free: 19.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.3777, allocations: 139.5 kB / 499.6 MB, free: 19.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.3781, allocations: 0.6137 MB / 0.4885 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3781, allocations: 41.91 kB / 0.4885 GB, free: 18.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.256e-06/0.3781, allocations: 0 / 0.4885 GB, free: 18.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004005/0.3822, allocations: 1.536 MB / 0.49 GB, free: 17.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3822, allocations: 133.4 kB / 0.4902 GB, free: 17.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.383, allocations: 0.6559 MB / 0.4908 GB, free: 17.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3831, allocations: 40.92 kB / 0.4909 GB, free: 17.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3833, allocations: 387 kB / 0.4912 GB, free: 16.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3834, allocations: 138.4 kB / 0.4914 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3836, allocations: 150.7 kB / 0.4915 GB, free: 16.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3837, allocations: 378 kB / 0.4919 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.3841, allocations: 200.8 kB / 0.4921 GB, free: 16.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.3847, allocations: 0.5004 MB / 0.4925 GB, free: 15.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008519/0.3855, allocations: 0.7166 MB / 0.4932 GB, free: 15.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3855, allocations: 3.688 kB / 0.4932 GB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001664/0.3872, allocations: 0.8945 MB / 0.4941 GB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.3872, allocations: 8.625 kB / 0.4941 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3873, allocations: 11.88 kB / 0.4941 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.3886, allocations: 289.3 kB / 0.4944 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.389, allocations: 128 kB / 0.4945 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.3901, allocations: 1.404 MB / 0.4959 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/0.3907, allocations: 32.83 kB / 0.4959 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/0.3908, allocations: 44.61 kB / 0.496 GB, free: 13.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004236/0.3912, allocations: 249.1 kB / 0.4962 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.3914, allocations: 79.25 kB / 0.4963 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.393, allocations: 0.6439 MB / 0.4969 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.393, allocations: 8.125 kB / 0.4969 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.393, allocations: 0 / 0.4969 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.393, allocations: 2.859 kB / 0.4969 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.395, allocations: 1.228 MB / 0.4981 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.395, allocations: 4.062 kB / 0.4981 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3952, allocations: 37.41 kB / 0.4982 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009115/0.3961, allocations: 213.8 kB / 0.4984 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.3962, allocations: 14.75 kB / 0.4984 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008606/0.397, allocations: 1.293 MB / 0.4997 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3971, allocations: 7.906 kB / 0.4997 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3984, allocations: 0.8147 MB / 0.5005 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.3988, allocations: 186.8 kB / 0.5006 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3989, allocations: 12.59 kB / 0.5006 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.3993, allocations: 27.73 kB / 0.5007 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.3994, allocations: 25.25 kB / 0.5007 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.3995, allocations: 26.53 kB / 0.5007 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006652/0.4001, allocations: 449.7 kB / 0.5012 GB, free: 10.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4001, allocations: 0 / 0.5012 GB, free: 10.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001346/0.4015, allocations: 294.2 kB / 0.5014 GB, free: 10.17 MB / 382.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/0.404, allocations: 1.611 MB / 0.503 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.4053, allocations: 0.5245 MB / 0.5035 GB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4053, allocations: 1.125 kB / 0.5035 GB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.4058, allocations: 221 kB / 0.5037 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.4074, allocations: 321.2 kB / 0.504 GB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009152/0.4166, allocations: 6.568 MB / 0.5104 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.417, allocations: 0.9345 MB / 0.5114 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009502/0.418, allocations: 203.8 kB / 0.5116 GB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.4183, allocations: 234.1 kB / 0.5118 GB, free: 3.617 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4183, allocations: 0 / 0.5118 GB, free: 3.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.4583, allocations: 22.06 MB / 0.5333 GB, free: 172 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.4587, allocations: 307.3 kB / 0.5336 GB, free: 15.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.711, allocations: 3.938 kB / 0.5336 GB, free: 15.78 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches