Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 187 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 242.1 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007986/0.0007987, allocations: 99.55 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3723/0.3723, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004153, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.415, allocations: 61.88 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.45/12.87, allocations: 6.132 GB / 6.643 GB, free: 77.44 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/12.87, allocations: 87.94 kB / 6.643 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9294/13.8, allocations: 259.5 MB / 6.896 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/13.8, allocations: 0 / 6.896 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.09e-05/13.8, allocations: 12 kB / 6.896 GB, free: 31.87 MB / 0.5261 GB 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.009148/13.81, allocations: 1.917 MB / 6.898 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/13.81, allocations: 8.031 kB / 6.898 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/13.81, allocations: 32.66 kB / 6.898 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/13.81, allocations: 251.9 kB / 6.898 GB, free: 29.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/13.81, allocations: 24.94 kB / 6.898 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/13.81, allocations: 24.38 kB / 6.898 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/13.81, allocations: 0.5057 MB / 6.899 GB, free: 29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/13.81, allocations: 4.188 kB / 6.899 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/13.81, allocations: 19.92 kB / 6.899 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/13.81, allocations: 24.5 kB / 6.899 GB, free: 28.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/13.81, allocations: 0.9076 MB / 6.9 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/13.81, allocations: 1.776 MB / 6.902 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/13.81, allocations: 271.7 kB / 6.902 GB, free: 25.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/13.81, allocations: 105.4 kB / 6.902 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/13.82, allocations: 15.27 MB / 6.917 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/13.82, allocations: 245.4 kB / 6.917 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.935e-06/13.82, allocations: 0 / 6.917 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002381/13.83, allocations: 0.7944 MB / 6.918 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/13.83, allocations: 268.9 kB / 6.918 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/13.83, allocations: 203.7 kB / 6.918 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/13.83, allocations: 33.7 kB / 6.918 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/13.83, allocations: 199.4 kB / 6.919 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/13.83, allocations: 122.3 kB / 6.919 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/13.83, allocations: 16 kB / 6.919 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.746e-05/13.83, allocations: 334.8 kB / 6.919 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/13.83, allocations: 89.06 kB / 6.919 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/13.83, allocations: 361.6 kB / 6.919 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/13.83, allocations: 0.5098 MB / 6.92 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/13.83, allocations: 7.938 kB / 6.92 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001174/13.83, allocations: 0.4936 MB / 6.92 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/13.83, allocations: 9.094 kB / 6.92 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/13.83, allocations: 11.94 kB / 6.92 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/13.83, allocations: 19.97 kB / 6.92 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/13.83, allocations: 183.7 kB / 6.921 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004342/13.83, allocations: 1.191 MB / 6.922 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/13.83, allocations: 32.09 kB / 6.922 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/13.83, allocations: 43.98 kB / 6.922 GB, free: 1.918 MB / 0.5261 GB 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.0001736/13.83, allocations: 169.5 kB / 6.922 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/13.83, allocations: 35.72 kB / 6.922 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009932/13.83, allocations: 0.5111 MB / 6.923 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/13.83, allocations: 4 kB / 6.923 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/13.83, allocations: 3.938 kB / 6.923 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/13.83, allocations: 0 / 6.923 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/13.83, allocations: 0.5535 MB / 6.923 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/13.83, allocations: 7.984 kB / 6.923 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/13.83, allocations: 71.94 kB / 6.923 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/13.83, allocations: 7.938 kB / 6.923 GB, free: 460 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/13.83, allocations: 7.938 kB / 6.923 GB, free: 452 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3659/14.2, allocations: 1.164 MB / 6.924 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/14.2, allocations: 3.188 kB / 6.924 GB, free: 72.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/14.2, allocations: 292.9 kB / 6.925 GB, free: 72.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/14.2, allocations: 128.7 kB / 6.925 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/14.2, allocations: 4.75 kB / 6.925 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/14.2, allocations: 15.36 kB / 6.925 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/14.2, allocations: 17.16 kB / 6.925 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/14.2, allocations: 14.94 kB / 6.925 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001934/14.2, allocations: 185.4 kB / 6.925 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/14.2, allocations: 0 / 6.925 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009025/14.21, allocations: 2.006 MB / 6.927 GB, free: 71.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 19 * 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.01317/14.22, allocations: 2.742 MB / 6.93 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001224/14.23, allocations: 324.9 kB / 6.93 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/14.23, allocations: 0 / 6.93 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/14.23, allocations: 106.9 kB / 6.93 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/14.23, allocations: 52.52 kB / 6.93 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6077/14.83, allocations: 206.8 MB / 7.132 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/14.83, allocations: 0.7609 MB / 7.133 GB, free: 88.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006281/14.84, allocations: 142.2 kB / 7.133 GB, free: 88.15 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/14.84, allocations: 51.64 kB / 7.133 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/14.84, allocations: 0 / 7.133 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of Templates: time 0.0732/14.91, allocations: 52.35 MB / 7.184 GB, free: 86.16 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches