Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_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.001331/0.001331, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001543/0.001543, allocations: 194 kB / 18.12 MB, free: 5.363 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.416/1.416, allocations: 222.9 MB / 241.8 MB, free: 13.89 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.2346/0.2346, allocations: 44.16 MB / 336.1 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.84 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04083/0.1723, allocations: 28.53 MB / 497.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.1765, allocations: 3.026 MB / 0.4885 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1768, allocations: 3.938 kB / 0.4885 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.1773, allocations: 47.78 kB / 0.4885 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.1796, allocations: 0.653 MB / 0.4891 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.1802, allocations: 129.6 kB / 0.4893 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1814, allocations: 442.1 kB / 0.4897 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1815, allocations: 13.67 kB / 0.4897 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3402/0.5217, allocations: 14.43 MB / 0.5038 GB, free: 23.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.5222, allocations: 153.3 kB / 0.5039 GB, free: 23.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.5222, allocations: 6.375 kB / 0.5039 GB, free: 23.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009853/0.5321, allocations: 3.434 MB / 0.5073 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.5323, allocations: 50.42 kB / 0.5073 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.5325, allocations: 104.6 kB / 0.5074 GB, free: 22.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.5336, allocations: 468 kB / 0.5079 GB, free: 22.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.5336, allocations: 1.312 kB / 0.5079 GB, free: 22.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5336, allocations: 0 / 0.5079 GB, free: 22.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5336, allocations: 0 / 0.5079 GB, free: 22.85 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.001292/0.5349, allocations: 0.5991 MB / 0.5085 GB, free: 22.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.535, allocations: 9.859 kB / 0.5085 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.5351, allocations: 59.2 kB / 0.5085 GB, free: 22.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.5352, allocations: 24.53 kB / 0.5086 GB, free: 22.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.5355, allocations: 229.8 kB / 0.5088 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.5356, allocations: 122.7 kB / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5356, allocations: 34.42 kB / 0.5089 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.5362, allocations: 324.3 kB / 0.5092 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5362, allocations: 1.375 kB / 0.5092 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.5363, allocations: 7.625 kB / 0.5092 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.5363, allocations: 11.27 kB / 0.5093 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.5374, allocations: 0.7396 MB / 0.51 GB, free: 21.99 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.001364/0.5387, allocations: 1.298 MB / 0.5112 GB, free: 20.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.5392, allocations: 169.3 kB / 0.5114 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.5393, allocations: 86.64 kB / 0.5115 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.5415, allocations: 2.809 MB / 0.5142 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.5415, allocations: 43.5 kB / 0.5143 GB, free: 18.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.5415, allocations: 4 kB / 0.5143 GB, free: 18.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003388/0.5419, allocations: 121.2 kB / 0.5144 GB, free: 17.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5419, allocations: 52.56 kB / 0.5144 GB, free: 17.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.5422, allocations: 216.1 kB / 0.5147 GB, free: 17.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5422, allocations: 29.39 kB / 0.5147 GB, free: 17.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.5423, allocations: 218.4 kB / 0.5149 GB, free: 17.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.5424, allocations: 45.27 kB / 0.5149 GB, free: 17.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.5425, allocations: 85.36 kB / 0.515 GB, free: 17.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.5426, allocations: 330.8 kB / 0.5153 GB, free: 17.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.5427, allocations: 45.67 kB / 0.5154 GB, free: 17.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.5429, allocations: 346.5 kB / 0.5157 GB, free: 16.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.5433, allocations: 444.7 kB / 0.5161 GB, free: 16.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5434, allocations: 4.562 kB / 0.5161 GB, free: 16.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005965/0.544, allocations: 378.9 kB / 0.5165 GB, free: 16.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.544, allocations: 9.891 kB / 0.5165 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.544, allocations: 11.47 kB / 0.5165 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/0.5441, allocations: 18.75 kB / 0.5165 GB, free: 16.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.5443, allocations: 106.5 kB / 0.5166 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.5444, allocations: 22.44 kB / 0.5167 GB, free: 16.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.5446, allocations: 55.09 kB / 0.5167 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.5447, allocations: 28.72 kB / 0.5167 GB, free: 16.38 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.0001164/0.5448, allocations: 149.7 kB / 0.5169 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.5449, allocations: 17.59 kB / 0.5169 GB, free: 16.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.5452, allocations: 153.9 kB / 0.517 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5452, allocations: 2.266 kB / 0.517 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5452, allocations: 0 / 0.517 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5452, allocations: 2.656 kB / 0.517 GB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.5456, allocations: 411.7 kB / 0.5174 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5456, allocations: 3.844 kB / 0.5174 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.5457, allocations: 13.7 kB / 0.5175 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.5457, allocations: 1.438 kB / 0.5175 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5457, allocations: 5.938 kB / 0.5175 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5457, allocations: 1.438 kB / 0.5175 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5457, allocations: 2.141 kB / 0.5175 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.5459, allocations: 211.7 kB / 0.5177 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.464e-05/0.546, allocations: 99.41 kB / 0.5178 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.546, allocations: 8.359 kB / 0.5178 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.5462, allocations: 5.859 kB / 0.5178 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.5462, allocations: 10.59 kB / 0.5178 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5462, allocations: 4.547 kB / 0.5178 GB, free: 15.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.5463, allocations: 157.4 kB / 0.5179 GB, free: 15.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5463, allocations: 0 / 0.5179 GB, free: 15.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.5469, allocations: 88.66 kB / 0.518 GB, free: 15.49 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.0005857/0.5475, allocations: 0.8019 MB / 0.5188 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.5478, allocations: 168.9 kB / 0.519 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5478, allocations: 1.062 kB / 0.519 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.608e-05/0.5479, allocations: 24.09 kB / 0.519 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.5483, allocations: 40.88 kB / 0.519 GB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.5513, allocations: 2.877 MB / 0.5218 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.5515, allocations: 0.7232 MB / 0.5225 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002445/0.5518, allocations: 54.34 kB / 0.5226 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.5519, allocations: 59.77 kB / 0.5227 GB, free: 11.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.9e-07/0.5519, allocations: 4 kB / 0.5227 GB, free: 11.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.5696, allocations: 4.989 MB / 0.5275 GB, free: 11.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.57, allocations: 219.5 kB / 0.5277 GB, free: 11.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.424, allocations: 5.25 kB / 0.5277 GB, free: 11.05 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches