Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009542/0.0009541, allocations: 92.2 kB / 16.03 MB, free: 56 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.0009945/0.0009945, allocations: 185.6 kB / 16.93 MB, free: 6.895 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.489/1.489, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3395/0.3395, allocations: 43.58 MB / 315 MB, free: 9.008 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.0005082/0.0005085, allocations: 12 kB / 384.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1342, allocations: 58.87 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2576/0.3918, allocations: 27.8 MB / 471.4 MB, free: 33.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3946, allocations: 2.993 MB / 474.3 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002164/0.3949, allocations: 0 / 474.3 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3952, allocations: 39.64 kB / 474.4 MB, free: 31.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.3972, allocations: 0.6577 MB / 475 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3976, allocations: 127.4 kB / 475.2 MB, free: 31.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.3983, allocations: 447.7 kB / 475.6 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.3984, allocations: 11.12 kB / 475.6 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03023/0.4287, allocations: 14.42 MB / 490 MB, free: 26.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.429, allocations: 152.7 kB / 490.2 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.4291, allocations: 6.094 kB / 490.2 MB, free: 25.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006302/0.4354, allocations: 3.429 MB / 493.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.4355, allocations: 42.53 kB / 493.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.4356, allocations: 135.9 kB / 493.8 MB, free: 24.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007748/0.4364, allocations: 463.5 kB / 494.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4364, allocations: 0 / 494.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4364, allocations: 0 / 494.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4365, allocations: 4 kB / 494.2 MB, free: 24.13 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009623/0.4374, allocations: 0.548 MB / 494.8 MB, free: 23.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4375, allocations: 9.844 kB / 494.8 MB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.4375, allocations: 64 kB / 494.9 MB, free: 23.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4377, allocations: 29.7 kB / 494.9 MB, free: 23.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4379, allocations: 225.3 kB / 495.1 MB, free: 23.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.438, allocations: 125 kB / 495.2 MB, free: 23.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.438, allocations: 30.38 kB / 495.3 MB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004939/0.4385, allocations: 323.9 kB / 495.6 MB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4386, allocations: 3.938 kB / 495.6 MB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.4386, allocations: 7.406 kB / 495.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4386, allocations: 7.156 kB / 495.6 MB, free: 23.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.4396, allocations: 0.7341 MB / 496.3 MB, free: 22.92 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.001221/0.4408, allocations: 1.309 MB / 497.6 MB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.4411, allocations: 168.8 kB / 497.8 MB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.4413, allocations: 90.88 kB / 497.9 MB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/0.4433, allocations: 2.805 MB / 0.489 GB, free: 18.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4433, allocations: 32.61 kB / 0.489 GB, free: 18.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.4433, allocations: 4 kB / 0.489 GB, free: 18.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002833/0.4436, allocations: 124.3 kB / 0.4891 GB, free: 18.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.4436, allocations: 53.03 kB / 0.4892 GB, free: 18.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.4438, allocations: 220.3 kB / 0.4894 GB, free: 18.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.4439, allocations: 26.7 kB / 0.4894 GB, free: 18.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.444, allocations: 222.3 kB / 0.4896 GB, free: 18.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.444, allocations: 44.39 kB / 0.4897 GB, free: 18.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.4441, allocations: 37.75 kB / 0.4897 GB, free: 18.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.4441, allocations: 332.8 kB / 0.49 GB, free: 17.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.4442, allocations: 45.38 kB / 0.4901 GB, free: 17.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4444, allocations: 340.6 kB / 0.4904 GB, free: 17.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.4447, allocations: 449.7 kB / 0.4908 GB, free: 16.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4447, allocations: 3.438 kB / 0.4908 GB, free: 16.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005622/0.4453, allocations: 379 kB / 0.4912 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4453, allocations: 9.344 kB / 0.4912 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.4454, allocations: 11.34 kB / 0.4912 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.157e-05/0.4454, allocations: 17.38 kB / 0.4912 GB, free: 16.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.4457, allocations: 97.55 kB / 0.4913 GB, free: 16.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/0.4457, allocations: 24.11 kB / 0.4913 GB, free: 16.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.446, allocations: 60.2 kB / 0.4914 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.446, allocations: 37.12 kB / 0.4914 GB, free: 16.57 MB / 382.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.0001226/0.4462, allocations: 152.1 kB / 0.4916 GB, free: 16.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.4462, allocations: 18.53 kB / 0.4916 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.4465, allocations: 146.3 kB / 0.4917 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.4466, allocations: 2.938 kB / 0.4917 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4466, allocations: 48 / 0.4917 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4466, allocations: 4.734 kB / 0.4917 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.4471, allocations: 409.4 kB / 0.4921 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4471, allocations: 1.125 kB / 0.4921 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.4471, allocations: 20.86 kB / 0.4921 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4471, allocations: 1.875 kB / 0.4921 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4472, allocations: 1.469 kB / 0.4921 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.4472, allocations: 6.062 kB / 0.4922 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4472, allocations: 1.469 kB / 0.4922 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4474, allocations: 209.1 kB / 0.4924 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.4474, allocations: 106.9 kB / 0.4925 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.4475, allocations: 6.344 kB / 0.4925 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.4476, allocations: 8.75 kB / 0.4925 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.4477, allocations: 9.578 kB / 0.4925 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4477, allocations: 9.516 kB / 0.4925 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.4478, allocations: 155.8 kB / 0.4926 GB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4478, allocations: 0 / 0.4926 GB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005919/0.4484, allocations: 89.08 kB / 0.4927 GB, free: 15.5 MB / 382.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.0006708/0.4491, allocations: 0.7992 MB / 0.4935 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.4495, allocations: 171 kB / 0.4937 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4495, allocations: 3.938 kB / 0.4937 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.4496, allocations: 29.03 kB / 0.4937 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.45, allocations: 46.19 kB / 0.4937 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.4527, allocations: 2.904 MB / 0.4966 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.4529, allocations: 0.7228 MB / 0.4973 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.4531, allocations: 56.33 kB / 0.4973 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.4532, allocations: 60.31 kB / 0.4974 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4532, allocations: 0 / 0.4974 GB, free: 11.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4723, allocations: 4.903 MB / 0.5022 GB, free: 10.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/0.4726, allocations: 218.7 kB / 0.5024 GB, free: 10.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.387, allocations: 7.938 kB / 0.5024 GB, free: 10.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches