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: 176.9 kB / 17.06 MB, free: 5.098 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.391/1.391, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009463/0.0009463, allocations: 96.94 kB / 292.2 MB, free: 10.69 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.3937/0.3937, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 12 kB / 459.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4675, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.34/14.81, allocations: 6.131 GB / 6.641 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/14.81, allocations: 86.52 kB / 6.641 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9703/15.78, allocations: 261 MB / 6.896 GB, free: 64.42 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/15.78, allocations: 0 / 6.896 GB, free: 64.42 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.231e-05/15.78, allocations: 4 kB / 6.896 GB, free: 64.42 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.0092/15.79, allocations: 1.932 MB / 6.898 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/15.79, allocations: 12.03 kB / 6.898 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/15.79, allocations: 27.72 kB / 6.898 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/15.79, allocations: 250.7 kB / 6.898 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/15.79, allocations: 20.56 kB / 6.898 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/15.79, allocations: 35.91 kB / 6.898 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/15.79, allocations: 0.5013 MB / 6.899 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/15.79, allocations: 0 / 6.899 GB, free: 61.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/15.79, allocations: 12 kB / 6.899 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.318e-05/15.79, allocations: 28.5 kB / 6.899 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/15.79, allocations: 0.9076 MB / 6.9 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/15.79, allocations: 1.843 MB / 6.901 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/15.79, allocations: 263.9 kB / 6.902 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/15.8, allocations: 15.24 MB / 6.916 GB, free: 40.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004106/15.8, allocations: 245.3 kB / 6.917 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/15.8, allocations: 0 / 6.917 GB, free: 39.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002331/15.81, allocations: 0.7868 MB / 6.917 GB, free: 39.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/15.81, allocations: 269 kB / 6.918 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/15.81, allocations: 182.5 kB / 6.918 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/15.81, allocations: 37.69 kB / 6.918 GB, free: 38.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/15.81, allocations: 191.5 kB / 6.918 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/15.81, allocations: 134.4 kB / 6.918 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/15.81, allocations: 12 kB / 6.918 GB, free: 38.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.606e-05/15.81, allocations: 334.8 kB / 6.919 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/15.81, allocations: 89.06 kB / 6.919 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/15.81, allocations: 361.7 kB / 6.919 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/15.81, allocations: 152.8 kB / 6.919 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/15.81, allocations: 4 kB / 6.919 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001214/15.81, allocations: 0.4971 MB / 6.92 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/15.81, allocations: 11.95 kB / 6.92 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/15.81, allocations: 15.98 kB / 6.92 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/15.81, allocations: 12 kB / 6.92 GB, free: 36.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/15.81, allocations: 187.6 kB / 6.92 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004314/15.81, allocations: 1.184 MB / 6.921 GB, free: 35.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/15.81, allocations: 31.8 kB / 6.921 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/15.81, allocations: 47.98 kB / 6.921 GB, free: 35.05 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.0001601/15.81, allocations: 171.5 kB / 6.921 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/15.81, allocations: 31.81 kB / 6.921 GB, free: 34.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/15.81, allocations: 0.5233 MB / 6.922 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/15.81, allocations: 8.031 kB / 6.922 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/15.81, allocations: 0 / 6.922 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/15.81, allocations: 0 / 6.922 GB, free: 34.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/15.81, allocations: 0.5701 MB / 6.922 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/15.81, allocations: 0 / 6.922 GB, free: 33.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/15.81, allocations: 83.81 kB / 6.922 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/15.81, allocations: 0 / 6.922 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/15.81, allocations: 11.98 kB / 6.922 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003108/15.81, allocations: 1.176 MB / 6.924 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/15.81, allocations: 0 / 6.924 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/15.81, allocations: 335 kB / 6.924 GB, free: 31.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.264e-05/15.81, allocations: 132.8 kB / 6.924 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/15.81, allocations: 11.73 kB / 6.924 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/15.81, allocations: 19.95 kB / 6.924 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/15.81, allocations: 15.97 kB / 6.924 GB, free: 31.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/15.82, allocations: 8 kB / 6.924 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000124/15.82, allocations: 178 kB / 6.924 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/15.82, allocations: 0 / 6.924 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008234/15.82, allocations: 2.009 MB / 6.926 GB, free: 29.58 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.01311/15.84, allocations: 2.741 MB / 6.929 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001179/15.84, allocations: 318.9 kB / 6.929 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/15.84, allocations: 0 / 6.929 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/15.84, allocations: 102.9 kB / 6.929 GB, free: 26.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/15.84, allocations: 52.58 kB / 6.929 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.098/16.94, allocations: 287 MB / 7.21 GB, free: 74.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/16.94, allocations: 0.757 MB / 7.21 GB, free: 74.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006299/16.94, allocations: 139.5 kB / 7.211 GB, free: 74.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/16.94, allocations: 52.95 kB / 7.211 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of SimCode: time 8.51e-07/16.94, allocations: 0 / 7.211 GB, free: 74.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.05876/17, allocations: 49.24 MB / 7.259 GB, free: 70.79 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/jenkins/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