Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_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.001527/0.001527, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.001872/0.001872, allocations: 187.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3375, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01609/0.3536, allocations: 16.42 MB / 0.5345 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007177/0.3608, allocations: 5.469 MB / 0.5398 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006241/0.3615, allocations: 18.91 kB / 0.5398 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.3623, allocations: 316.7 kB / 0.5401 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.364, allocations: 0.8181 MB / 0.5409 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.3664, allocations: 1.001 MB / 0.5419 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.3684, allocations: 1.773 MB / 0.5436 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.3691, allocations: 471.3 kB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3705, allocations: 0.7525 MB / 0.5448 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000818/0.3713, allocations: 0.611 MB / 0.5454 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3714, allocations: 58.84 kB / 0.5455 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.3723, allocations: 339.7 kB / 0.5458 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.3726, allocations: 269 kB / 0.5461 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004918/0.3731, allocations: 398.7 kB / 0.5464 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3746, allocations: 1.107 MB / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3747, allocations: 0.9062 kB / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.3747, allocations: 0 / 0.5475 GB, free: 13.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3747, allocations: 3.938 kB / 0.5475 GB, free: 13.67 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.002256/0.3769, allocations: 1.051 MB / 0.5485 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.377, allocations: 10.03 kB / 0.5486 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.3771, allocations: 95.39 kB / 0.5486 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3775, allocations: 88.92 kB / 0.5487 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/0.3784, allocations: 0.5389 MB / 0.5493 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.3785, allocations: 96.47 kB / 0.5493 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.3786, allocations: 60.06 kB / 0.5494 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.3798, allocations: 0.8311 MB / 0.5502 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.3798, allocations: 0 / 0.5502 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.3799, allocations: 24 kB / 0.5502 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.551e-05/0.38, allocations: 44.91 kB / 0.5503 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.381, allocations: 0.6399 MB / 0.5509 GB, free: 10.58 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.004955/0.386, allocations: 4.336 MB / 0.5551 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.3867, allocations: 354.5 kB / 0.5555 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.387, allocations: 181.3 kB / 0.5557 GB, free: 5.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002012/0.389, allocations: 1.706 MB / 0.5573 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3891, allocations: 38.5 kB / 0.5574 GB, free: 3.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.674e-06/0.3891, allocations: 4 kB / 0.5574 GB, free: 3.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=37): time 0.003696/0.3928, allocations: 1.401 MB / 0.5587 GB, free: 1.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.3929, allocations: 132.5 kB / 0.5589 GB, free: 1.781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.3936, allocations: 0.6289 MB / 0.5595 GB, free: 1.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.3936, allocations: 33.7 kB / 0.5595 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.3939, allocations: 398.3 kB / 0.5599 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.394, allocations: 130.2 kB / 0.56 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3942, allocations: 150.5 kB / 0.5601 GB, free: 440 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3944, allocations: 374.8 kB / 0.5605 GB, free: 56 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.3948, allocations: 189.9 kB / 0.5607 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.3953, allocations: 0.5559 MB / 0.5612 GB, free: 15.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.3962, allocations: 0.7727 MB / 0.562 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3962, allocations: 7.938 kB / 0.562 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001361/0.3976, allocations: 0.8335 MB / 0.5628 GB, free: 13.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3976, allocations: 18.59 kB / 0.5628 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.3977, allocations: 12 kB / 0.5628 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004336/0.3981, allocations: 100.8 kB / 0.5629 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/0.3988, allocations: 175.7 kB / 0.5631 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005975/0.3994, allocations: 0.6811 MB / 0.5638 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.3999, allocations: 24 kB / 0.5638 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.4, allocations: 40 kB / 0.5638 GB, free: 12.28 MB / 430.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.0003457/0.4003, allocations: 257.6 kB / 0.5641 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4005, allocations: 71.14 kB / 0.5641 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.4014, allocations: 0.5044 MB / 0.5646 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4014, allocations: 4 kB / 0.5646 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4014, allocations: 0 / 0.5646 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4014, allocations: 0 / 0.5646 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4032, allocations: 1.222 MB / 0.5658 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4032, allocations: 4.375 kB / 0.5658 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.4035, allocations: 71.91 kB / 0.5659 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001719/0.4037, allocations: 44.83 kB / 0.5659 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.4037, allocations: 8 kB / 0.566 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003547/0.4041, allocations: 0.5717 MB / 0.5665 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.4041, allocations: 4 kB / 0.5665 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.405, allocations: 0.7337 MB / 0.5672 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.4053, allocations: 184.2 kB / 0.5674 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.4054, allocations: 16 kB / 0.5674 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.4057, allocations: 15.98 kB / 0.5674 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.4058, allocations: 39.91 kB / 0.5675 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.4058, allocations: 19.98 kB / 0.5675 GB, free: 8.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.4064, allocations: 471 kB / 0.5679 GB, free: 7.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4064, allocations: 0 / 0.5679 GB, free: 7.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007867/0.4072, allocations: 211.9 kB / 0.5681 GB, free: 7.637 MB / 430.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.00156/0.4087, allocations: 1.4 MB / 0.5695 GB, free: 6.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009541/0.4097, allocations: 0.4929 MB / 0.57 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4097, allocations: 0 / 0.57 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.41, allocations: 189.8 kB / 0.5702 GB, free: 5.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4116, allocations: 362.8 kB / 0.5705 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.4195, allocations: 6.302 MB / 0.5767 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.42, allocations: 0.9378 MB / 0.5776 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000617/0.4206, allocations: 213.4 kB / 0.5778 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/0.4209, allocations: 235.4 kB / 0.578 GB, free: 12.95 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4209, allocations: 3.938 kB / 0.578 GB, free: 12.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04682/0.4678, allocations: 20.89 MB / 0.5984 GB, free: 8.426 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.36, allocations: 7.078 kB / 0.5984 GB, free: 8.422 MB / 462.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches