Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.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) 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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_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.001435/0.001435, allocations: 99.41 kB / 16.26 MB, free: 6.348 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.001785/0.001785, allocations: 192.3 kB / 17.2 MB, free: 5.945 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.455/1.455, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001705/0.001705, allocations: 71.67 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1134, allocations: 57.78 MB / 440.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03386/0.1473, allocations: 30.07 MB / 470.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.155, allocations: 4.58 MB / 475.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008508/0.1559, allocations: 19.88 kB / 475.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009171/0.1568, allocations: 294.1 kB / 475.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.1616, allocations: 1.821 MB / 477.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.1655, allocations: 1.556 MB / 479 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00232/0.1678, allocations: 1.844 MB / 480.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.1686, allocations: 481.3 kB / 481.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/0.1742, allocations: 3.491 MB / 484.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.1763, allocations: 1.375 MB / 486.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1765, allocations: 60 kB / 486.2 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.1793, allocations: 1.443 MB / 487.6 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.1796, allocations: 271.2 kB / 487.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.1801, allocations: 402.1 kB / 488.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1822, allocations: 1.473 MB / 489.8 MB, free: 5.543 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1822, allocations: 3.938 kB / 489.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1823, allocations: 4 kB / 489.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1823, allocations: 0 / 489.8 MB, free: 5.535 MB / 366.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.002212/0.1845, allocations: 1.153 MB / 490.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1846, allocations: 11.89 kB / 490.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.1847, allocations: 102.6 kB / 491 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.1857, allocations: 147.9 kB / 491.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.1867, allocations: 0.5093 MB / 491.7 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.1868, allocations: 101 kB / 491.8 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.1869, allocations: 56.11 kB / 491.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1884, allocations: 0.8394 MB / 492.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1885, allocations: 4 kB / 492.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.1886, allocations: 24 kB / 492.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.1886, allocations: 44.92 kB / 492.8 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1898, allocations: 0.6048 MB / 493.4 MB, free: 1.754 MB / 366.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.006177/0.1959, allocations: 4.896 MB / 498.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.1966, allocations: 331.5 kB / 498.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.1968, allocations: 136.8 kB / 498.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/0.1973, allocations: 0.6174 MB / 499.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1974, allocations: 34.56 kB / 499.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.1974, allocations: 0 / 499.4 MB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.004174/0.2016, allocations: 1.531 MB / 0.4892 GB, free: 9.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.2017, allocations: 132.5 kB / 0.4893 GB, free: 9.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00084/0.2025, allocations: 0.6563 MB / 0.4899 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.2026, allocations: 37.7 kB / 0.49 GB, free: 8.711 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.2029, allocations: 386.6 kB / 0.4903 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.203, allocations: 130.2 kB / 0.4905 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.2033, allocations: 158.4 kB / 0.4906 GB, free: 8.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2035, allocations: 378.7 kB / 0.491 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.2038, allocations: 205.8 kB / 0.4912 GB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005647/0.2044, allocations: 0.498 MB / 0.4917 GB, free: 6.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009/0.2053, allocations: 0.7171 MB / 0.4924 GB, free: 5.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2053, allocations: 4 kB / 0.4924 GB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001702/0.207, allocations: 0.8912 MB / 0.4932 GB, free: 5.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.2071, allocations: 12 kB / 0.4932 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.2071, allocations: 8 kB / 0.4932 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.2085, allocations: 301.3 kB / 0.4935 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.2089, allocations: 127.8 kB / 0.4937 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2101, allocations: 1.401 MB / 0.495 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.2107, allocations: 32 kB / 0.4951 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.2108, allocations: 40 kB / 0.4951 GB, free: 3.102 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.0004885/0.2113, allocations: 250.8 kB / 0.4953 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.2115, allocations: 79.09 kB / 0.4954 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2131, allocations: 0.6491 MB / 0.496 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.2131, allocations: 4 kB / 0.496 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2131, allocations: 0 / 0.496 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2131, allocations: 0 / 0.496 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.2153, allocations: 1.232 MB / 0.4972 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.2154, allocations: 0 / 0.4972 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.2155, allocations: 39.92 kB / 0.4973 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008867/0.2164, allocations: 205.5 kB / 0.4975 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.2165, allocations: 11.98 kB / 0.4975 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.2177, allocations: 1.307 MB / 0.4988 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2177, allocations: 4.031 kB / 0.4988 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.2191, allocations: 0.8104 MB / 0.4996 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.2194, allocations: 184.3 kB / 0.4997 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.2195, allocations: 15.98 kB / 0.4998 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.2199, allocations: 12 kB / 0.4998 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.22, allocations: 23.97 kB / 0.4998 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.22, allocations: 31.91 kB / 0.4998 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005735/0.2206, allocations: 455 kB / 0.5003 GB, free: 13.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2206, allocations: 0 / 0.5003 GB, free: 13.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001038/0.2217, allocations: 292 kB / 0.5005 GB, free: 13.33 MB / 398.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.002735/0.2244, allocations: 1.607 MB / 0.5021 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.2257, allocations: 0.5542 MB / 0.5026 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2257, allocations: 0 / 0.5026 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.2263, allocations: 232.7 kB / 0.5029 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.228, allocations: 341.9 kB / 0.5032 GB, free: 10.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.2401, allocations: 6.377 MB / 0.5094 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.2409, allocations: 0.9303 MB / 0.5103 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008754/0.2418, allocations: 205.1 kB / 0.5105 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.2421, allocations: 231.3 kB / 0.5107 GB, free: 2.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.074e-06/0.2422, allocations: 0 / 0.5107 GB, free: 2.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.4911, allocations: 22.78 MB / 0.533 GB, free: 93.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.09, allocations: 12.19 kB / 0.533 GB, free: 93.13 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches