Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009793/0.0009796, allocations: 199.7 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.6 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008337/0.0008336, allocations: 83.31 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3123/0.3123, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 8 kB / 465.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3055, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02303/0.3285, allocations: 25.14 MB / 0.5404 GB, free: 19.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3387, allocations: 10.24 MB / 0.5504 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.3389, allocations: 0 / 0.5504 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.3393, allocations: 60.3 kB / 0.5505 GB, free: 12.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02127/0.3605, allocations: 7.284 MB / 0.5576 GB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.3615, allocations: 382.1 kB / 0.558 GB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.3621, allocations: 0.571 MB / 0.5585 GB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.85e-05/0.3622, allocations: 22.11 kB / 0.5585 GB, free: 8.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.3624, allocations: 188 kB / 0.5587 GB, free: 8.395 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01616/0.3786, allocations: 11.37 MB / 0.5698 GB, free: 2.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.3787, allocations: 11.98 kB / 0.5698 GB, free: 2.145 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02393/0.4027, allocations: 13.36 MB / 0.5829 GB, free: 4.77 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.4028, allocations: 91.73 kB / 0.583 GB, free: 4.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.4031, allocations: 161.1 kB / 0.5831 GB, free: 4.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.4134, allocations: 4.569 MB / 0.5876 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4134, allocations: 0 / 0.5876 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4134, allocations: 4 kB / 0.5876 GB, free: 15.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.4134, allocations: 0 / 0.5876 GB, free: 15.93 MB / 410.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.003804/0.4173, allocations: 1.49 MB / 0.589 GB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4173, allocations: 8.031 kB / 0.589 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4175, allocations: 39.83 kB / 0.5891 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4177, allocations: 246.7 kB / 0.5893 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4178, allocations: 20.56 kB / 0.5893 GB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.4178, allocations: 24 kB / 0.5894 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.4186, allocations: 0.509 MB / 0.5899 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4186, allocations: 4 kB / 0.5899 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.4186, allocations: 19.92 kB / 0.5899 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.4187, allocations: 28.48 kB / 0.5899 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4198, allocations: 0.9115 MB / 0.5908 GB, free: 12.52 MB / 410.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.001999/0.4218, allocations: 1.906 MB / 0.5927 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.4225, allocations: 263.8 kB / 0.5929 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4226, allocations: 101.5 kB / 0.593 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01853/0.4412, allocations: 15.75 MB / 0.6084 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.4417, allocations: 245.8 kB / 0.6086 GB, free: 7.055 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.4417, allocations: 3.938 kB / 0.6086 GB, free: 7.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002221/0.444, allocations: 0.7777 MB / 0.6094 GB, free: 6.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.4441, allocations: 274 kB / 0.6097 GB, free: 5.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.4443, allocations: 203.9 kB / 0.6098 GB, free: 5.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.4444, allocations: 29.7 kB / 0.6099 GB, free: 5.672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4445, allocations: 199.4 kB / 0.6101 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.254e-05/0.4446, allocations: 122.3 kB / 0.6102 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.4446, allocations: 12 kB / 0.6102 GB, free: 5.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4447, allocations: 334.8 kB / 0.6105 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4449, allocations: 89.05 kB / 0.6106 GB, free: 4.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.4454, allocations: 365.3 kB / 0.6109 GB, free: 4.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.4461, allocations: 0.5034 MB / 0.6114 GB, free: 3.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.4461, allocations: 4 kB / 0.6114 GB, free: 3.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001159/0.4473, allocations: 0.5001 MB / 0.6119 GB, free: 3.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4473, allocations: 12.22 kB / 0.6119 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4473, allocations: 12 kB / 0.612 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4474, allocations: 15.94 kB / 0.612 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.448, allocations: 183.7 kB / 0.6121 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006544/0.4486, allocations: 1.192 MB / 0.6133 GB, free: 1.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.4489, allocations: 31.88 kB / 0.6133 GB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.623e-05/0.449, allocations: 43.98 kB / 0.6134 GB, free: 1.758 MB / 426.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.0002086/0.4492, allocations: 165.6 kB / 0.6135 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.4494, allocations: 31.72 kB / 0.6136 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4504, allocations: 492.5 kB / 0.614 GB, free: 1.043 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4504, allocations: 7.938 kB / 0.614 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4505, allocations: 0 / 0.614 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4505, allocations: 3.938 kB / 0.614 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000889/0.4514, allocations: 0.5939 MB / 0.6146 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4514, allocations: 4 kB / 0.6146 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.4518, allocations: 87.86 kB / 0.6147 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4518, allocations: 7.875 kB / 0.6147 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4518, allocations: 8 kB / 0.6147 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005512/0.4524, allocations: 1.18 MB / 0.6159 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4524, allocations: 0 / 0.6159 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.4529, allocations: 323.5 kB / 0.6162 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.453, allocations: 120.7 kB / 0.6163 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.4531, allocations: 11.94 kB / 0.6163 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.4534, allocations: 15.98 kB / 0.6163 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4534, allocations: 19.97 kB / 0.6164 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4535, allocations: 20.05 kB / 0.6164 GB, free: 14.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4536, allocations: 164.5 kB / 0.6165 GB, free: 14.33 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4536, allocations: 0 / 0.6165 GB, free: 14.33 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004954/0.4586, allocations: 1.686 MB / 0.6182 GB, free: 12.64 MB / 442.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.008314/0.4669, allocations: 2.338 MB / 0.6205 GB, free: 10.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.468, allocations: 321.5 kB / 0.6208 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.468, allocations: 0 / 0.6208 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.4685, allocations: 119.8 kB / 0.6209 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.4691, allocations: 81.06 kB / 0.621 GB, free: 9.793 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3779/0.847, allocations: 140.8 MB / 0.7585 GB, free: 81.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.8472, allocations: 0.7488 MB / 0.7592 GB, free: 80.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.8475, allocations: 67.41 kB / 0.7592 GB, free: 80.29 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8475, allocations: 0 / 0.7592 GB, free: 80.29 MB / 490.7 MB Notification: Performance of Templates: time 0.04212/0.8896, allocations: 35.45 MB / 0.7939 GB, free: 44.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches