Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 176.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009992/0.0009993, allocations: 99.66 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4185/0.4185, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 16 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1472, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2958/0.4431, allocations: 25.21 MB / 0.5034 GB, free: 33.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.456, allocations: 12.13 MB / 0.5152 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.4563, allocations: 1.406 kB / 0.5152 GB, free: 25.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.4567, allocations: 55.3 kB / 0.5153 GB, free: 25.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02312/0.4798, allocations: 6.243 MB / 0.5214 GB, free: 22.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.4807, allocations: 316.2 kB / 0.5217 GB, free: 22.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007892/0.4815, allocations: 0.5788 MB / 0.5222 GB, free: 21.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.312e-05/0.4816, allocations: 20.53 kB / 0.5223 GB, free: 21.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.482, allocations: 182 kB / 0.5224 GB, free: 21.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01513/0.4971, allocations: 11.35 MB / 0.5335 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.4973, allocations: 10.03 kB / 0.5335 GB, free: 20.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03101/0.5283, allocations: 11.14 MB / 0.5444 GB, free: 17.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.5286, allocations: 84.38 kB / 0.5445 GB, free: 17.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.5289, allocations: 75.42 kB / 0.5446 GB, free: 17.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.5409, allocations: 4.13 MB / 0.5486 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.541, allocations: 4 kB / 0.5486 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.541, allocations: 1.031 kB / 0.5486 GB, free: 15.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.541, allocations: 0 / 0.5486 GB, free: 15.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004794/0.5458, allocations: 1.454 MB / 0.55 GB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5459, allocations: 12.02 kB / 0.55 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.5461, allocations: 35.72 kB / 0.5501 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.5464, allocations: 243.7 kB / 0.5503 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.5464, allocations: 20.56 kB / 0.5503 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.5464, allocations: 27.95 kB / 0.5503 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.5472, allocations: 0.513 MB / 0.5508 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5472, allocations: 0 / 0.5508 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.5473, allocations: 15.94 kB / 0.5509 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.5473, allocations: 24.55 kB / 0.5509 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.5483, allocations: 0.9193 MB / 0.5518 GB, free: 12.02 MB / 378.7 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.001767/0.55, allocations: 1.898 MB / 0.5536 GB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.5507, allocations: 270 kB / 0.5539 GB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.5508, allocations: 101.5 kB / 0.554 GB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.5675, allocations: 15.76 MB / 0.5694 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004902/0.568, allocations: 247.8 kB / 0.5696 GB, free: 6.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.605e-06/0.5681, allocations: 0 / 0.5696 GB, free: 6.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002286/0.5704, allocations: 0.7816 MB / 0.5704 GB, free: 5.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5705, allocations: 269 kB / 0.5706 GB, free: 5.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.5707, allocations: 203.7 kB / 0.5708 GB, free: 5.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.5707, allocations: 33.7 kB / 0.5709 GB, free: 5.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5708, allocations: 191.5 kB / 0.571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.5709, allocations: 126.2 kB / 0.5712 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.571, allocations: 16 kB / 0.5712 GB, free: 4.855 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5711, allocations: 334.8 kB / 0.5715 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5712, allocations: 89.06 kB / 0.5716 GB, free: 4.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.5717, allocations: 369.5 kB / 0.5719 GB, free: 3.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.572, allocations: 155.2 kB / 0.5721 GB, free: 3.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.572, allocations: 8 kB / 0.5721 GB, free: 3.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001101/0.5732, allocations: 0.4888 MB / 0.5726 GB, free: 3.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5732, allocations: 9 kB / 0.5726 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5732, allocations: 8 kB / 0.5726 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.5732, allocations: 20 kB / 0.5726 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.5739, allocations: 176.7 kB / 0.5728 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005924/0.5745, allocations: 1.184 MB / 0.5739 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.5748, allocations: 40.02 kB / 0.574 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-05/0.5749, allocations: 43.98 kB / 0.574 GB, free: 1.773 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.5751, allocations: 177.6 kB / 0.5742 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5753, allocations: 35.67 kB / 0.5742 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.5763, allocations: 498.4 kB / 0.5747 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5764, allocations: 4 kB / 0.5747 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5764, allocations: 0.875 kB / 0.5747 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5764, allocations: 0 / 0.5747 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009428/0.5773, allocations: 0.6081 MB / 0.5753 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.5773, allocations: 4 kB / 0.5753 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.5777, allocations: 84.42 kB / 0.5754 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5777, allocations: 3.938 kB / 0.5754 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.5778, allocations: 12 kB / 0.5754 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006514/0.5784, allocations: 1.179 MB / 0.5765 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5784, allocations: 0 / 0.5765 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.5791, allocations: 319.5 kB / 0.5768 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.5792, allocations: 120.7 kB / 0.577 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.5793, allocations: 15.89 kB / 0.577 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.5796, allocations: 15.98 kB / 0.577 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.5797, allocations: 23.95 kB / 0.577 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.5797, allocations: 16 kB / 0.577 GB, free: 14.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.5799, allocations: 164.5 kB / 0.5772 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5799, allocations: 0 / 0.5772 GB, free: 14.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006824/0.5867, allocations: 1.608 MB / 0.5787 GB, free: 12.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008974/0.5957, allocations: 2.053 MB / 0.5808 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.5969, allocations: 324.5 kB / 0.5811 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5969, allocations: 0 / 0.5811 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.5974, allocations: 127.4 kB / 0.5812 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.598, allocations: 66.95 kB / 0.5812 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4484/1.046, allocations: 140.4 MB / 0.7184 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001923/1.047, allocations: 0.7545 MB / 0.7191 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.047, allocations: 67.31 kB / 0.7192 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/1.047, allocations: 3.828 kB / 0.7192 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.05865/1.106, allocations: 35.64 MB / 0.754 GB, free: 130 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches