Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 204.7 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.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2346/0.2346, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 79.86 kB / 480.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3936, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03481/0.4285, allocations: 26.92 MB / 0.5568 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003603/0.4322, allocations: 2.951 MB / 0.5597 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.4324, allocations: 4 kB / 0.5597 GB, free: 3.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.4329, allocations: 59.53 kB / 0.5598 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.4352, allocations: 0.7188 MB / 0.5605 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.4356, allocations: 141.2 kB / 0.5606 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.4363, allocations: 366.2 kB / 0.561 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.73e-05/0.4364, allocations: 17.67 kB / 0.561 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04426/0.4807, allocations: 15.5 MB / 0.5761 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.4811, allocations: 151.5 kB / 0.5763 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.4812, allocations: 8 kB / 0.5763 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008875/0.4901, allocations: 3.448 MB / 0.5796 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.4902, allocations: 39.83 kB / 0.5797 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.4904, allocations: 107.5 kB / 0.5798 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009096/0.4913, allocations: 470.5 kB / 0.5802 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4913, allocations: 4 kB / 0.5802 GB, free: 14.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4913, allocations: 0 / 0.5802 GB, free: 14.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.4914, allocations: 0 / 0.5802 GB, free: 14.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001111/0.4925, allocations: 0.6078 MB / 0.5808 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4925, allocations: 8.031 kB / 0.5808 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.4926, allocations: 58.73 kB / 0.5809 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.4928, allocations: 24.8 kB / 0.5809 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.4931, allocations: 228.1 kB / 0.5811 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.4932, allocations: 123.9 kB / 0.5813 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.4933, allocations: 27.88 kB / 0.5813 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.4938, allocations: 327.7 kB / 0.5816 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.4938, allocations: 7.922 kB / 0.5816 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.4939, allocations: 12 kB / 0.5816 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.4939, allocations: 8 kB / 0.5816 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.4947, allocations: 0.7313 MB / 0.5823 GB, free: 12.29 MB / 446.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.001417/0.4961, allocations: 1.308 MB / 0.5836 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.4965, allocations: 167.6 kB / 0.5838 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4966, allocations: 81.48 kB / 0.5838 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002522/0.4992, allocations: 2.817 MB / 0.5866 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4992, allocations: 34.56 kB / 0.5866 GB, free: 7.219 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.4992, allocations: 0 / 0.5866 GB, free: 7.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002953/0.4995, allocations: 117.4 kB / 0.5867 GB, free: 7.098 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4996, allocations: 55.41 kB / 0.5868 GB, free: 7.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4998, allocations: 216.2 kB / 0.587 GB, free: 6.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4998, allocations: 33.7 kB / 0.587 GB, free: 6.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4999, allocations: 227.3 kB / 0.5873 GB, free: 6.543 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.5, allocations: 43.69 kB / 0.5873 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.5001, allocations: 89.97 kB / 0.5874 GB, free: 6.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5002, allocations: 326.8 kB / 0.5877 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.972e-05/0.5003, allocations: 48.83 kB / 0.5877 GB, free: 6.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.5006, allocations: 351.2 kB / 0.5881 GB, free: 5.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.501, allocations: 440.5 kB / 0.5885 GB, free: 4.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.501, allocations: 8 kB / 0.5885 GB, free: 4.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005189/0.5015, allocations: 373.9 kB / 0.5889 GB, free: 4.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5016, allocations: 16.06 kB / 0.5889 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.5016, allocations: 15.94 kB / 0.5889 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5016, allocations: 12 kB / 0.5889 GB, free: 4.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.5019, allocations: 95.83 kB / 0.589 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.5019, allocations: 23.92 kB / 0.589 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.5022, allocations: 59.56 kB / 0.5891 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.5023, allocations: 28 kB / 0.5891 GB, free: 4.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.5024, allocations: 145.6 kB / 0.5892 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.5025, allocations: 31.84 kB / 0.5893 GB, free: 4.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.5028, allocations: 144.8 kB / 0.5894 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5028, allocations: 0 / 0.5894 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5028, allocations: 0 / 0.5894 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.5028, allocations: 4 kB / 0.5894 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.5036, allocations: 408.9 kB / 0.5898 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5036, allocations: 0 / 0.5898 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.177e-05/0.5036, allocations: 15.94 kB / 0.5898 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5036, allocations: 0 / 0.5898 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5037, allocations: 8 kB / 0.5898 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5037, allocations: 0 / 0.5898 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5037, allocations: 8.156 kB / 0.5898 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.5039, allocations: 213.8 kB / 0.59 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.504, allocations: 97 kB / 0.5901 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.5041, allocations: 3.938 kB / 0.5901 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.5042, allocations: 12 kB / 0.5901 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.5043, allocations: 7.984 kB / 0.5901 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.5043, allocations: 4 kB / 0.5902 GB, free: 3.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.5044, allocations: 156.7 kB / 0.5903 GB, free: 2.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5045, allocations: 0 / 0.5903 GB, free: 2.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.505, allocations: 95.77 kB / 0.5904 GB, free: 2.883 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009637/0.506, allocations: 0.8005 MB / 0.5912 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.5063, allocations: 172.9 kB / 0.5913 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5063, allocations: 0 / 0.5913 GB, free: 1.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.5064, allocations: 25.48 kB / 0.5914 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.5068, allocations: 46.75 kB / 0.5914 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5099, allocations: 2.824 MB / 0.5942 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.5103, allocations: 0.7245 MB / 0.5949 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.5104, allocations: 50.91 kB / 0.5949 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.5105, allocations: 67.41 kB / 0.595 GB, free: 13.72 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5105, allocations: 96 / 0.595 GB, free: 13.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.5359, allocations: 5.236 MB / 0.6001 GB, free: 8.609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.203, allocations: 10.97 kB / 0.6001 GB, free: 8.602 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches