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.001392/0.001398, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 206.2 kB / 16.79 MB, free: 6.84 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.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.3186/0.3186, allocations: 43.5 MB / 313.5 MB, free: 8.492 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.001304/0.001304, allocations: 67.89 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1115, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2308/0.3423, allocations: 16.94 MB / 456.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.3491, allocations: 5.602 MB / 462.5 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008521/0.35, allocations: 27.03 kB / 462.5 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.351, allocations: 272.1 kB / 462.8 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.3527, allocations: 0.7885 MB / 463.6 MB, free: 37.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.3549, allocations: 0.9068 MB / 464.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3572, allocations: 2.66 MB / 467.1 MB, free: 36.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.3578, allocations: 403.9 kB / 467.5 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/0.3587, allocations: 0.6503 MB / 468.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006496/0.3594, allocations: 0.6313 MB / 468.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.3595, allocations: 37 kB / 468.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007593/0.3603, allocations: 337.2 kB / 469.2 MB, free: 36.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3605, allocations: 241.2 kB / 469.4 MB, free: 36.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.3608, allocations: 368.4 kB / 469.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.3617, allocations: 1.082 MB / 470.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3617, allocations: 0 / 470.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3618, allocations: 0 / 470.8 MB, free: 36.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3618, allocations: 0 / 470.8 MB, free: 36.11 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001768/0.3635, allocations: 1.048 MB / 471.9 MB, free: 35.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.3636, allocations: 13.41 kB / 471.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.3637, allocations: 102.8 kB / 472 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/0.364, allocations: 88.36 kB / 472.1 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.3647, allocations: 0.5053 MB / 472.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.693e-05/0.3648, allocations: 107.6 kB / 472.7 MB, free: 34.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.3649, allocations: 56.73 kB / 472.8 MB, free: 34.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3659, allocations: 0.8287 MB / 473.6 MB, free: 34.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.3659, allocations: 7.062 kB / 473.6 MB, free: 34.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/0.366, allocations: 24.09 kB / 473.6 MB, free: 34.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/0.366, allocations: 38.84 kB / 473.7 MB, free: 34.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.3669, allocations: 0.6448 MB / 474.3 MB, free: 34.12 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.003272/0.3702, allocations: 4.337 MB / 478.6 MB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.3707, allocations: 351.5 kB / 479 MB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.371, allocations: 177.1 kB / 479.1 MB, free: 30.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001425/0.3724, allocations: 1.693 MB / 480.8 MB, free: 28.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3725, allocations: 41.81 kB / 480.9 MB, free: 28.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.3725, allocations: 0 / 480.9 MB, free: 28.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003102/0.3756, allocations: 1.399 MB / 482.3 MB, free: 27.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3756, allocations: 131.7 kB / 482.4 MB, free: 27.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.3762, allocations: 0.6326 MB / 483 MB, free: 27.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.3762, allocations: 33.7 kB / 483.1 MB, free: 27.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3764, allocations: 400.9 kB / 483.5 MB, free: 27.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.3765, allocations: 130.8 kB / 483.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.3767, allocations: 148.1 kB / 483.7 MB, free: 27.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3768, allocations: 375.2 kB / 484.1 MB, free: 26.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.3771, allocations: 194 kB / 484.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.3775, allocations: 0.5537 MB / 484.8 MB, free: 26.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.3782, allocations: 0.7825 MB / 485.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3782, allocations: 7.125 kB / 485.6 MB, free: 25.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001083/0.3793, allocations: 0.8266 MB / 486.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.3793, allocations: 10.94 kB / 486.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3794, allocations: 10.56 kB / 486.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/0.3797, allocations: 97.58 kB / 486.6 MB, free: 25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.3803, allocations: 182.9 kB / 486.8 MB, free: 24.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004102/0.3807, allocations: 0.6707 MB / 487.4 MB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.3812, allocations: 43.78 kB / 487.5 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.086e-05/0.3813, allocations: 41.41 kB / 487.5 MB, free: 24.37 MB / 382.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.0002485/0.3815, allocations: 267 kB / 487.8 MB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.3816, allocations: 64.61 kB / 487.8 MB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.3824, allocations: 0.5148 MB / 488.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3824, allocations: 3.031 kB / 488.4 MB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3824, allocations: 4 kB / 488.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3824, allocations: 2.969 kB / 488.4 MB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3839, allocations: 1.218 MB / 489.6 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3839, allocations: 6.938 kB / 489.6 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.3842, allocations: 65.22 kB / 489.7 MB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.3843, allocations: 54.78 kB / 489.7 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.3844, allocations: 13.47 kB / 489.7 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002255/0.3846, allocations: 0.5563 MB / 490.3 MB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.3846, allocations: 6.969 kB / 490.3 MB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007328/0.3853, allocations: 0.7304 MB / 491 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.3856, allocations: 189.1 kB / 491.2 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.3857, allocations: 10.47 kB / 491.2 MB, free: 21.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.3861, allocations: 31.12 kB / 491.2 MB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3861, allocations: 35.34 kB / 491.3 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.3862, allocations: 22.91 kB / 491.3 MB, free: 21.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004223/0.3866, allocations: 471 kB / 491.8 MB, free: 21.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3866, allocations: 0 / 491.8 MB, free: 21.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007514/0.3874, allocations: 206.3 kB / 492 MB, free: 21.7 MB / 382.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.001361/0.3887, allocations: 1.416 MB / 493.4 MB, free: 20.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009191/0.3897, allocations: 0.4908 MB / 493.9 MB, free: 20.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3897, allocations: 3 kB / 493.9 MB, free: 20.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.39, allocations: 180.8 kB / 494 MB, free: 20.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3916, allocations: 348.2 kB / 494.4 MB, free: 20.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/0.4007, allocations: 6.741 MB / 0.4894 GB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.4013, allocations: 0.9417 MB / 0.4903 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009003/0.4022, allocations: 208.9 kB / 0.4905 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.4025, allocations: 238.7 kB / 0.4907 GB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4025, allocations: 0 / 0.4907 GB, free: 14.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.4438, allocations: 19.69 MB / 0.5099 GB, free: 7.977 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.444, allocations: 327.7 kB / 0.5103 GB, free: 7.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.624, allocations: 4 kB / 0.5103 GB, free: 7.582 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches