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.0008649/0.0008651, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.263/1.263, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007562/0.0007563, allocations: 92.77 kB / 271.2 MB, free: 8.242 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.3048/0.3048, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 16 kB / 432 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 58.84 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2074/0.312, allocations: 25.24 MB / 0.504 GB, free: 33.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.3229, allocations: 12.14 MB / 0.5158 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.3232, allocations: 1.031 kB / 0.5158 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.3235, allocations: 68.78 kB / 0.5159 GB, free: 24.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.3417, allocations: 6.757 MB / 0.5225 GB, free: 22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.3425, allocations: 371.3 kB / 0.5228 GB, free: 21.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005013/0.343, allocations: 0.5728 MB / 0.5234 GB, free: 21.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3431, allocations: 21.55 kB / 0.5234 GB, free: 21.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.3433, allocations: 188.8 kB / 0.5236 GB, free: 21.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01246/0.3557, allocations: 11.35 MB / 0.5347 GB, free: 20.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/0.3559, allocations: 9.156 kB / 0.5347 GB, free: 20.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02185/0.3777, allocations: 13.03 MB / 0.5474 GB, free: 15.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3779, allocations: 86.02 kB / 0.5475 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.3781, allocations: 162.7 kB / 0.5477 GB, free: 15.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008652/0.3867, allocations: 4.423 MB / 0.552 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3867, allocations: 0 / 0.552 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3868, allocations: 4 kB / 0.552 GB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3868, allocations: 3.938 kB / 0.552 GB, free: 12.23 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.003515/0.3903, allocations: 1.451 MB / 0.5534 GB, free: 10.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3903, allocations: 8.031 kB / 0.5534 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3905, allocations: 39.64 kB / 0.5534 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3907, allocations: 242.7 kB / 0.5537 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3907, allocations: 20.56 kB / 0.5537 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3907, allocations: 31.92 kB / 0.5537 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.3913, allocations: 0.5013 MB / 0.5542 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3914, allocations: 11.92 kB / 0.5542 GB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3914, allocations: 19.92 kB / 0.5542 GB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.3914, allocations: 24.55 kB / 0.5543 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.3923, allocations: 0.9153 MB / 0.5552 GB, free: 8.848 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.001486/0.3937, allocations: 1.902 MB / 0.557 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.3943, allocations: 271.6 kB / 0.5573 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3945, allocations: 105.4 kB / 0.5574 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/0.4101, allocations: 15.75 MB / 0.5728 GB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004293/0.4106, allocations: 244.5 kB / 0.573 GB, free: 3.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.783e-06/0.4106, allocations: 0 / 0.573 GB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001999/0.4126, allocations: 0.7842 MB / 0.5738 GB, free: 2.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4127, allocations: 274 kB / 0.574 GB, free: 2.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4129, allocations: 199.8 kB / 0.5742 GB, free: 2.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.4129, allocations: 33.64 kB / 0.5742 GB, free: 2.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.413, allocations: 199.4 kB / 0.5744 GB, free: 1.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.4131, allocations: 122.3 kB / 0.5745 GB, free: 1.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.4132, allocations: 12 kB / 0.5746 GB, free: 1.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4133, allocations: 334.8 kB / 0.5749 GB, free: 1.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4134, allocations: 92.98 kB / 0.575 GB, free: 1.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.4138, allocations: 361.6 kB / 0.5753 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/0.4145, allocations: 0.5067 MB / 0.5758 GB, free: 140 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4145, allocations: 4 kB / 0.5758 GB, free: 136 kB / 394.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00107/0.4156, allocations: 0.4966 MB / 0.5763 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4156, allocations: 8.188 kB / 0.5763 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4156, allocations: 16 kB / 0.5763 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4157, allocations: 15.94 kB / 0.5763 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.4162, allocations: 187.5 kB / 0.5765 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005783/0.4168, allocations: 1.184 MB / 0.5777 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4171, allocations: 35.78 kB / 0.5777 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.4172, allocations: 43.98 kB / 0.5777 GB, free: 14.1 MB / 410.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.0001579/0.4173, allocations: 169.6 kB / 0.5779 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.4175, allocations: 31.72 kB / 0.5779 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.4184, allocations: 491.3 kB / 0.5784 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4185, allocations: 4 kB / 0.5784 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4185, allocations: 0 / 0.5784 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4185, allocations: 3.938 kB / 0.5784 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.4193, allocations: 0.5963 MB / 0.579 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4193, allocations: 4 kB / 0.579 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.4197, allocations: 91.8 kB / 0.5791 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4197, allocations: 0 / 0.5791 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4197, allocations: 9.188 kB / 0.5791 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004882/0.4202, allocations: 1.176 MB / 0.5802 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4202, allocations: 3.984 kB / 0.5802 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005002/0.4207, allocations: 319.5 kB / 0.5806 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.4208, allocations: 120.7 kB / 0.5807 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.4209, allocations: 11.94 kB / 0.5807 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4211, allocations: 15.98 kB / 0.5807 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.4211, allocations: 23.91 kB / 0.5807 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.4212, allocations: 17.56 kB / 0.5807 GB, free: 10.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.4213, allocations: 164.5 kB / 0.5809 GB, free: 10.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4213, allocations: 0 / 0.5809 GB, free: 10.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0043/0.4256, allocations: 1.624 MB / 0.5825 GB, free: 9.039 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.005913/0.4315, allocations: 2.263 MB / 0.5847 GB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.4324, allocations: 321.8 kB / 0.585 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4324, allocations: 0 / 0.585 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.4328, allocations: 125.1 kB / 0.5851 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.4333, allocations: 68.88 kB / 0.5852 GB, free: 6.273 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3456/0.7789, allocations: 140.5 MB / 0.7223 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.7791, allocations: 0.7544 MB / 0.7231 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.7794, allocations: 71.19 kB / 0.7231 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.7794, allocations: 3.531 kB / 0.7232 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.04471/0.8241, allocations: 35.75 MB / 0.7581 GB, free: 125.8 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