Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001734/0.001734, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002155/0.002155, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 76.16 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3626, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01896/0.3816, allocations: 16.54 MB / 0.5467 GB, free: 116 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008329/0.39, allocations: 5.47 MB / 0.552 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008915/0.391, allocations: 19.66 kB / 0.552 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.392, allocations: 316.9 kB / 0.5523 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.3941, allocations: 0.847 MB / 0.5532 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.3972, allocations: 1.003 MB / 0.5542 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.3996, allocations: 1.793 MB / 0.5559 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007628/0.4004, allocations: 445.5 kB / 0.5563 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.4018, allocations: 0.7746 MB / 0.5571 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.4027, allocations: 0.611 MB / 0.5577 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.4029, allocations: 67.98 kB / 0.5577 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.4041, allocations: 339.5 kB / 0.5581 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.4044, allocations: 259.3 kB / 0.5583 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004607/0.4049, allocations: 394.2 kB / 0.5587 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.4066, allocations: 1.121 MB / 0.5598 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4067, allocations: 0 / 0.5598 GB, free: 3.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4067, allocations: 0 / 0.5598 GB, free: 3.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4067, allocations: 0 / 0.5598 GB, free: 3.777 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.002254/0.4089, allocations: 1.066 MB / 0.5608 GB, free: 2.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.409, allocations: 8.031 kB / 0.5608 GB, free: 2.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.4092, allocations: 94.7 kB / 0.5609 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.4095, allocations: 108.4 kB / 0.561 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.4107, allocations: 0.5292 MB / 0.5615 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4108, allocations: 101 kB / 0.5616 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.4109, allocations: 52.11 kB / 0.5617 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4123, allocations: 0.8309 MB / 0.5625 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4123, allocations: 3.938 kB / 0.5625 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.971e-05/0.4124, allocations: 20 kB / 0.5625 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/0.4125, allocations: 40.97 kB / 0.5626 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.4135, allocations: 0.6399 MB / 0.5632 GB, free: 104 kB / 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.004967/0.4185, allocations: 4.353 MB / 0.5674 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.4192, allocations: 350.9 kB / 0.5678 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.4195, allocations: 173.3 kB / 0.5679 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.4215, allocations: 1.713 MB / 0.5696 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4215, allocations: 42.55 kB / 0.5697 GB, free: 8.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.4215, allocations: 0 / 0.5697 GB, free: 8.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.003537/0.4251, allocations: 1.399 MB / 0.571 GB, free: 7.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.4252, allocations: 140.4 kB / 0.5712 GB, free: 7.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.426, allocations: 0.629 MB / 0.5718 GB, free: 6.645 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.4261, allocations: 33.7 kB / 0.5718 GB, free: 6.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.4264, allocations: 415.4 kB / 0.5722 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.4265, allocations: 138.9 kB / 0.5723 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.4267, allocations: 146.5 kB / 0.5725 GB, free: 5.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4269, allocations: 378.7 kB / 0.5728 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4272, allocations: 189.9 kB / 0.573 GB, free: 5.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/0.4278, allocations: 0.5559 MB / 0.5736 GB, free: 4.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.4288, allocations: 0.7804 MB / 0.5743 GB, free: 3.672 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4288, allocations: 7.938 kB / 0.5743 GB, free: 3.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00132/0.4301, allocations: 0.8297 MB / 0.5751 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4301, allocations: 12 kB / 0.5751 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.4302, allocations: 12 kB / 0.5752 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.4306, allocations: 92.8 kB / 0.5752 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.4313, allocations: 192.1 kB / 0.5754 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006545/0.4319, allocations: 0.6655 MB / 0.5761 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.4324, allocations: 28 kB / 0.5761 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.4325, allocations: 40 kB / 0.5761 GB, free: 1.762 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.0003967/0.4329, allocations: 261.4 kB / 0.5764 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.433, allocations: 75.59 kB / 0.5765 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/0.4339, allocations: 0.5054 MB / 0.577 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.4339, allocations: 4 kB / 0.577 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4339, allocations: 0 / 0.577 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4339, allocations: 0 / 0.577 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4357, allocations: 1.226 MB / 0.5782 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4358, allocations: 4 kB / 0.5782 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.436, allocations: 71.91 kB / 0.5782 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001637/0.4362, allocations: 40.83 kB / 0.5783 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.4363, allocations: 12 kB / 0.5783 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003438/0.4366, allocations: 0.572 MB / 0.5788 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4366, allocations: 4 kB / 0.5788 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.4375, allocations: 0.7261 MB / 0.5796 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.4378, allocations: 184.6 kB / 0.5797 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.4379, allocations: 16.06 kB / 0.5797 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005462/0.4385, allocations: 19.98 kB / 0.5798 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.4386, allocations: 31.84 kB / 0.5798 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.322e-05/0.4386, allocations: 27.92 kB / 0.5798 GB, free: 13.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000532/0.4392, allocations: 471 kB / 0.5803 GB, free: 13.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4392, allocations: 0 / 0.5803 GB, free: 13.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007556/0.4399, allocations: 203.9 kB / 0.5805 GB, free: 13.11 MB / 446.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.001693/0.4416, allocations: 1.418 MB / 0.5819 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4427, allocations: 0.4974 MB / 0.5823 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4427, allocations: 4.938 kB / 0.5823 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.4431, allocations: 187.9 kB / 0.5825 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.4448, allocations: 375.8 kB / 0.5829 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008569/0.4534, allocations: 6.306 MB / 0.589 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.4539, allocations: 0.9377 MB / 0.59 GB, free: 2.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006651/0.4546, allocations: 210 kB / 0.5902 GB, free: 2.629 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.4549, allocations: 235.4 kB / 0.5904 GB, free: 2.398 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4549, allocations: 0 / 0.5904 GB, free: 2.398 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.4996, allocations: 20.63 MB / 0.6105 GB, free: 14.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.35, allocations: 14.94 kB / 0.6105 GB, free: 14.07 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches