Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009121/0.000912, allocations: 104.4 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.332/0.332, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.000283, allocations: 11.98 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.364, allocations: 63.25 MB / 0.5192 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.93/11.29, allocations: 6.133 GB / 6.652 GB, free: 136.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/11.29, allocations: 87.7 kB / 6.652 GB, free: 136 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8747/12.17, allocations: 259.8 MB / 6.906 GB, free: 96.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/12.17, allocations: 4 kB / 6.906 GB, free: 96.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.372e-05/12.17, allocations: 0 / 6.906 GB, free: 96.79 MB / 0.5417 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.008481/12.18, allocations: 1.932 MB / 6.907 GB, free: 94.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/12.18, allocations: 8.031 kB / 6.907 GB, free: 94.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/12.18, allocations: 35.7 kB / 6.907 GB, free: 94.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/12.18, allocations: 246.7 kB / 6.908 GB, free: 94.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/12.18, allocations: 20.56 kB / 6.908 GB, free: 94.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/12.18, allocations: 27.95 kB / 6.908 GB, free: 94.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/12.18, allocations: 0.5087 MB / 6.908 GB, free: 93.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/12.18, allocations: 0 / 6.908 GB, free: 93.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/12.18, allocations: 16 kB / 6.908 GB, free: 93.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/12.18, allocations: 20.55 kB / 6.908 GB, free: 93.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/12.18, allocations: 0.9076 MB / 6.909 GB, free: 92.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/12.18, allocations: 1.839 MB / 6.911 GB, free: 91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/12.18, allocations: 263.9 kB / 6.911 GB, free: 90.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/12.19, allocations: 15.25 MB / 6.926 GB, free: 72.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000437/12.19, allocations: 237.5 kB / 6.926 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.575e-06/12.19, allocations: 3.938 kB / 6.926 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002091/12.2, allocations: 0.7879 MB / 6.927 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/12.2, allocations: 265 kB / 6.927 GB, free: 71.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/12.2, allocations: 190.2 kB / 6.928 GB, free: 70.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/12.2, allocations: 33.7 kB / 6.928 GB, free: 70.86 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/12.2, allocations: 199.4 kB / 6.928 GB, free: 70.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/12.2, allocations: 130.2 kB / 6.928 GB, free: 70.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/12.2, allocations: 12 kB / 6.928 GB, free: 70.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.005e-05/12.2, allocations: 334.9 kB / 6.928 GB, free: 70.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/12.2, allocations: 89.05 kB / 6.928 GB, free: 70.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/12.2, allocations: 361.5 kB / 6.929 GB, free: 69.61 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/12.2, allocations: 162.5 kB / 6.929 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/12.2, allocations: 4 kB / 6.929 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009775/12.2, allocations: 0.503 MB / 6.929 GB, free: 68.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/12.2, allocations: 8 kB / 6.929 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/12.2, allocations: 8 kB / 6.929 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/12.2, allocations: 16 kB / 6.929 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/12.2, allocations: 183.6 kB / 6.929 GB, free: 68.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/12.2, allocations: 1.195 MB / 6.931 GB, free: 67.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/12.2, allocations: 23.91 kB / 6.931 GB, free: 67.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/12.2, allocations: 51.97 kB / 6.931 GB, free: 67.42 MB / 0.5417 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.0001372/12.2, allocations: 165.5 kB / 6.931 GB, free: 67.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/12.2, allocations: 31.7 kB / 6.931 GB, free: 67.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009596/12.2, allocations: 0.5253 MB / 6.931 GB, free: 66.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/12.2, allocations: 4 kB / 6.931 GB, free: 66.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/12.2, allocations: 3.984 kB / 6.931 GB, free: 66.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/12.2, allocations: 7.984 kB / 6.931 GB, free: 66.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/12.2, allocations: 0.5643 MB / 6.932 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/12.2, allocations: 4 kB / 6.932 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/12.2, allocations: 79.86 kB / 6.932 GB, free: 65.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/12.2, allocations: 3.953 kB / 6.932 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/12.2, allocations: 8 kB / 6.932 GB, free: 65.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003056/12.2, allocations: 1.172 MB / 6.933 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/12.2, allocations: 0 / 6.933 GB, free: 64.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/12.2, allocations: 331 kB / 6.934 GB, free: 64.34 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/12.2, allocations: 140.8 kB / 6.934 GB, free: 64.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/12.2, allocations: 4 kB / 6.934 GB, free: 64.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/12.2, allocations: 12 kB / 6.934 GB, free: 64.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/12.2, allocations: 19.97 kB / 6.934 GB, free: 64.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/12.2, allocations: 12 kB / 6.934 GB, free: 64.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001267/12.2, allocations: 177.9 kB / 6.934 GB, free: 63.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/12.2, allocations: 0 / 6.934 GB, free: 63.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00851/12.21, allocations: 2.013 MB / 6.936 GB, free: 61.95 MB / 0.5417 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.0136/12.23, allocations: 2.777 MB / 6.939 GB, free: 59.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001225/12.23, allocations: 308.1 kB / 6.939 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/12.23, allocations: 1.812 kB / 6.939 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/12.23, allocations: 102.3 kB / 6.939 GB, free: 58.78 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/12.23, allocations: 60.59 kB / 6.939 GB, free: 58.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.085/13.31, allocations: 287.1 MB / 7.219 GB, free: 85.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/13.31, allocations: 0.755 MB / 7.22 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006891/13.31, allocations: 146 kB / 7.22 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/13.31, allocations: 48.02 kB / 7.22 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/13.31, allocations: 3.875 kB / 7.22 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.06804/13.38, allocations: 49.43 MB / 7.269 GB, free: 82.63 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches