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.00196/0.00196, allocations: 200.7 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009404/0.0009404, allocations: 107 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4375/0.4375, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4385, allocations: 62.95 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.64/15.08, allocations: 6.133 GB / 6.651 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/15.08, allocations: 94.27 kB / 6.651 GB, free: 173.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9636/16.04, allocations: 258.4 MB / 6.904 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.235e-06/16.04, allocations: 0 / 6.904 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.879e-05/16.04, allocations: 3.625 kB / 6.904 GB, free: 101.1 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.01002/16.05, allocations: 1.928 MB / 6.906 GB, free: 99.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/16.05, allocations: 7.75 kB / 6.906 GB, free: 99.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/16.05, allocations: 33.75 kB / 6.906 GB, free: 99.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/16.05, allocations: 249.9 kB / 6.906 GB, free: 99.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/16.05, allocations: 19.31 kB / 6.906 GB, free: 99.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/16.05, allocations: 29.09 kB / 6.906 GB, free: 99.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/16.05, allocations: 0.5075 MB / 6.906 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/16.05, allocations: 192 / 6.906 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/16.05, allocations: 19.84 kB / 6.906 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/16.05, allocations: 27.92 kB / 6.907 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/16.06, allocations: 0.9027 MB / 6.907 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/16.06, allocations: 1.778 MB / 6.909 GB, free: 98.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/16.06, allocations: 264.8 kB / 6.909 GB, free: 98.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/16.06, allocations: 105.9 kB / 6.909 GB, free: 98.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/16.07, allocations: 15.27 MB / 6.924 GB, free: 82.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/16.07, allocations: 245.8 kB / 6.925 GB, free: 82.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 4.658e-06/16.07, allocations: 0 / 6.925 GB, free: 82.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002513/16.08, allocations: 0.7864 MB / 6.925 GB, free: 82.33 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/16.08, allocations: 264.8 kB / 6.926 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/16.08, allocations: 201.6 kB / 6.926 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/16.08, allocations: 33.58 kB / 6.926 GB, free: 81.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/16.08, allocations: 200.9 kB / 6.926 GB, free: 81.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/16.08, allocations: 127.8 kB / 6.926 GB, free: 81.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/16.08, allocations: 11.97 kB / 6.926 GB, free: 81.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.658e-05/16.08, allocations: 342.1 kB / 6.927 GB, free: 81.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/16.08, allocations: 90.38 kB / 6.927 GB, free: 81.21 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/16.08, allocations: 369.8 kB / 6.927 GB, free: 80.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/16.08, allocations: 0.4982 MB / 6.927 GB, free: 80.35 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/16.08, allocations: 3.922 kB / 6.927 GB, free: 80.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001262/16.08, allocations: 0.4991 MB / 6.928 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/16.08, allocations: 13.44 kB / 6.928 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/16.08, allocations: 11.44 kB / 6.928 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/16.08, allocations: 17.39 kB / 6.928 GB, free: 80.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/16.08, allocations: 179 kB / 6.928 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000468/16.08, allocations: 1.191 MB / 6.929 GB, free: 78.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/16.08, allocations: 29.81 kB / 6.929 GB, free: 78.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/16.08, allocations: 45.59 kB / 6.929 GB, free: 78.92 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.0001947/16.08, allocations: 171.1 kB / 6.93 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/16.08, allocations: 37.22 kB / 6.93 GB, free: 78.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/16.08, allocations: 0.5114 MB / 6.93 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/16.08, allocations: 4.031 kB / 6.93 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/16.08, allocations: 7.125 kB / 6.93 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/16.08, allocations: 0 / 6.93 GB, free: 78.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/16.08, allocations: 0.5589 MB / 6.931 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/16.08, allocations: 0 / 6.931 GB, free: 78.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/16.08, allocations: 73.62 kB / 6.931 GB, free: 78.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/16.08, allocations: 11.81 kB / 6.931 GB, free: 78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/16.08, allocations: 15.28 kB / 6.931 GB, free: 78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003886/16.09, allocations: 1.166 MB / 6.932 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/16.09, allocations: 7.188 kB / 6.932 GB, free: 76.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005381/16.09, allocations: 284.8 kB / 6.932 GB, free: 76.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/16.09, allocations: 122.6 kB / 6.932 GB, free: 76.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/16.09, allocations: 7.906 kB / 6.932 GB, free: 76.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/16.09, allocations: 11.58 kB / 6.932 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/16.09, allocations: 19.36 kB / 6.932 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/16.09, allocations: 19.56 kB / 6.932 GB, free: 76.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001595/16.09, allocations: 174.9 kB / 6.932 GB, free: 76.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.62e-07/16.09, allocations: 3.844 kB / 6.932 GB, free: 76.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0107/16.1, allocations: 2.019 MB / 6.934 GB, free: 75.79 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.01835/16.12, allocations: 2.759 MB / 6.937 GB, free: 75.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001399/16.12, allocations: 317.9 kB / 6.937 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/16.12, allocations: 0 / 6.937 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005012/16.12, allocations: 114.6 kB / 6.938 GB, free: 74.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006796/16.12, allocations: 57.05 kB / 6.938 GB, free: 74.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.593/16.71, allocations: 207.1 MB / 7.14 GB, free: 76.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/16.71, allocations: 0.7541 MB / 7.141 GB, free: 76.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006916/16.71, allocations: 134 kB / 7.141 GB, free: 76.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/16.71, allocations: 48.33 kB / 7.141 GB, free: 76.24 MB / 0.5417 GB Notification: Performance of SimCode: time 1.002e-06/16.71, allocations: 0 / 7.141 GB, free: 76.24 MB / 0.5417 GB Notification: Performance of Templates: time 0.07002/16.78, allocations: 52.54 MB / 7.192 GB, free: 47.07 MB / 0.5417 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/jenkins1/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