Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001157/0.001157, allocations: 105.6 kB / 16.4 MB, free: 6.457 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.001357/0.001357, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.501/1.501, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2237/0.2237, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.002011/0.002011, allocations: 63.91 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02182/0.1567, allocations: 16.43 MB / 0.5035 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.1653, allocations: 5.473 MB / 0.5088 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009772/0.1664, allocations: 19.88 kB / 0.5088 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1676, allocations: 310 kB / 0.5091 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.1705, allocations: 0.8277 MB / 0.5099 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.1739, allocations: 0.9894 MB / 0.5109 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002862/0.1768, allocations: 1.79 MB / 0.5126 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1778, allocations: 453.3 kB / 0.5131 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.1795, allocations: 0.7591 MB / 0.5138 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.1807, allocations: 0.6111 MB / 0.5144 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002339/0.181, allocations: 60 kB / 0.5145 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1821, allocations: 351.5 kB / 0.5148 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004504/0.1826, allocations: 259.2 kB / 0.515 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.1834, allocations: 394.2 kB / 0.5154 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.1853, allocations: 1.11 MB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1853, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1854, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.968e-05/0.1854, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002689/0.1881, allocations: 1.048 MB / 0.5175 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1882, allocations: 12.03 kB / 0.5175 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001981/0.1884, allocations: 102.7 kB / 0.5176 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.1888, allocations: 88.08 kB / 0.5177 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1898, allocations: 0.5327 MB / 0.5182 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.19, allocations: 108.9 kB / 0.5183 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1901, allocations: 56.06 kB / 0.5184 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1914, allocations: 0.8229 MB / 0.5192 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.1915, allocations: 15.88 kB / 0.5192 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.83e-05/0.1916, allocations: 27.98 kB / 0.5192 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.816e-05/0.1916, allocations: 36.98 kB / 0.5193 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1927, allocations: 0.6399 MB / 0.5199 GB, free: 10.68 MB / 414.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.004978/0.1977, allocations: 4.336 MB / 0.5241 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.1984, allocations: 350.9 kB / 0.5245 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1987, allocations: 173.3 kB / 0.5246 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001964/0.2006, allocations: 1.702 MB / 0.5263 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2007, allocations: 38.56 kB / 0.5263 GB, free: 3.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.2007, allocations: 0 / 0.5263 GB, free: 3.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.0037/0.2044, allocations: 1.393 MB / 0.5277 GB, free: 2.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.2045, allocations: 136.5 kB / 0.5278 GB, free: 1.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007915/0.2053, allocations: 0.6289 MB / 0.5284 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.2054, allocations: 37.7 kB / 0.5285 GB, free: 1.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.2057, allocations: 398.3 kB / 0.5289 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.2058, allocations: 134.1 kB / 0.529 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.2061, allocations: 142.5 kB / 0.5291 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2062, allocations: 382.8 kB / 0.5295 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.245/0.4513, allocations: 183.9 kB / 0.5297 GB, free: 41.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.452, allocations: 0.5486 MB / 0.5302 GB, free: 41.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.4528, allocations: 0.7823 MB / 0.531 GB, free: 40.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.4528, allocations: 6.594 kB / 0.531 GB, free: 40.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001364/0.4542, allocations: 0.8262 MB / 0.5318 GB, free: 40.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4542, allocations: 9.562 kB / 0.5318 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.4542, allocations: 11.53 kB / 0.5318 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.4547, allocations: 98.77 kB / 0.5319 GB, free: 40.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.4554, allocations: 179.2 kB / 0.5321 GB, free: 40.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/0.4559, allocations: 0.6674 MB / 0.5327 GB, free: 40.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.4565, allocations: 30.19 kB / 0.5327 GB, free: 40.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.982e-05/0.4566, allocations: 44.52 kB / 0.5328 GB, free: 40.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006219/0.4573, allocations: 258.7 kB / 0.533 GB, free: 40.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.4574, allocations: 74.69 kB / 0.5331 GB, free: 40.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.4586, allocations: 0.5051 MB / 0.5336 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4586, allocations: 4.594 kB / 0.5336 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.4586, allocations: 0 / 0.5336 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4586, allocations: 6.047 kB / 0.5336 GB, free: 40.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.4606, allocations: 1.222 MB / 0.5348 GB, free: 39.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4606, allocations: 3.375 kB / 0.5348 GB, free: 39.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.4609, allocations: 78.61 kB / 0.5349 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.4611, allocations: 39.05 kB / 0.5349 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.4611, allocations: 13.75 kB / 0.5349 GB, free: 39.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002618/0.4614, allocations: 0.5586 MB / 0.5355 GB, free: 39.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4614, allocations: 4.375 kB / 0.5355 GB, free: 39.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/0.4624, allocations: 0.7301 MB / 0.5362 GB, free: 38.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.4626, allocations: 187.7 kB / 0.5364 GB, free: 38.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.4627, allocations: 14.84 kB / 0.5364 GB, free: 38.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.4631, allocations: 15.23 kB / 0.5364 GB, free: 38.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4632, allocations: 40.03 kB / 0.5364 GB, free: 38.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/0.4632, allocations: 22.55 kB / 0.5365 GB, free: 38.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005904/0.4638, allocations: 472.3 kB / 0.5369 GB, free: 38.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4638, allocations: 0 / 0.5369 GB, free: 38.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4648, allocations: 207.5 kB / 0.5371 GB, free: 38.59 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00163/0.4665, allocations: 1.403 MB / 0.5385 GB, free: 37.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.4676, allocations: 0.5062 MB / 0.539 GB, free: 37.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4676, allocations: 1.625 kB / 0.539 GB, free: 37.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.4679, allocations: 186 kB / 0.5392 GB, free: 37.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.4694, allocations: 359.2 kB / 0.5395 GB, free: 37.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008415/0.4779, allocations: 6.306 MB / 0.5457 GB, free: 33.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.4784, allocations: 0.9382 MB / 0.5466 GB, free: 32.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009658/0.4794, allocations: 213.2 kB / 0.5468 GB, free: 32.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.4798, allocations: 234.2 kB / 0.547 GB, free: 32.47 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4798, allocations: 1.125 kB / 0.547 GB, free: 32.47 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05055/0.5303, allocations: 20.87 MB / 0.5674 GB, free: 20.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.38, allocations: 16.39 kB / 0.5674 GB, free: 20.67 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches