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.001164/0.001164, allocations: 194 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008782/0.0008785, allocations: 105 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4025/0.4025, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 4 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4485, allocations: 62.96 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.45/12.9, allocations: 6.133 GB / 6.649 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/12.9, allocations: 82.5 kB / 6.649 GB, free: 172.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.9574/13.86, allocations: 258.4 MB / 6.902 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.374e-06/13.86, allocations: 3.875 kB / 6.902 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.663e-05/13.86, allocations: 3.688 kB / 6.902 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.009897/13.87, allocations: 1.921 MB / 6.904 GB, free: 99.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/13.87, allocations: 13 kB / 6.904 GB, free: 99.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/13.87, allocations: 28.91 kB / 6.904 GB, free: 99.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/13.87, allocations: 261.9 kB / 6.904 GB, free: 99.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/13.87, allocations: 20.88 kB / 6.904 GB, free: 99.69 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/13.87, allocations: 21.97 kB / 6.904 GB, free: 99.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/13.87, allocations: 0.5113 MB / 6.905 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/13.87, allocations: 192 / 6.905 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/13.87, allocations: 17.84 kB / 6.905 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/13.87, allocations: 19.92 kB / 6.905 GB, free: 99.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/13.87, allocations: 0.9119 MB / 6.905 GB, free: 99.56 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/13.87, allocations: 1.777 MB / 6.907 GB, free: 98.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/13.87, allocations: 267.4 kB / 6.907 GB, free: 98.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/13.87, allocations: 99.19 kB / 6.908 GB, free: 98.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01342/13.88, allocations: 15.27 MB / 6.922 GB, free: 82.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/13.89, allocations: 248.7 kB / 6.923 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/13.89, allocations: 0 / 6.923 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.002156/13.89, allocations: 0.7877 MB / 6.923 GB, free: 82.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/13.89, allocations: 273 kB / 6.924 GB, free: 81.89 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/13.89, allocations: 199.5 kB / 6.924 GB, free: 81.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/13.89, allocations: 33.55 kB / 6.924 GB, free: 81.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/13.89, allocations: 188.7 kB / 6.924 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/13.89, allocations: 141.2 kB / 6.924 GB, free: 81.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/13.89, allocations: 8 kB / 6.924 GB, free: 81.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/13.89, allocations: 341.5 kB / 6.925 GB, free: 81.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/13.89, allocations: 92.47 kB / 6.925 GB, free: 81.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/13.89, allocations: 366.9 kB / 6.925 GB, free: 80.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/13.89, allocations: 0.4991 MB / 6.926 GB, free: 80.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/13.89, allocations: 3.875 kB / 6.926 GB, free: 80.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001064/13.89, allocations: 0.4971 MB / 6.926 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/13.89, allocations: 10.22 kB / 6.926 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/13.89, allocations: 14.28 kB / 6.926 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/13.89, allocations: 13.34 kB / 6.926 GB, free: 80.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/13.89, allocations: 182.6 kB / 6.926 GB, free: 80.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004415/13.89, allocations: 1.193 MB / 6.927 GB, free: 78.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/13.89, allocations: 26.5 kB / 6.927 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/13.89, allocations: 45.48 kB / 6.927 GB, free: 78.8 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.0001549/13.89, allocations: 171.5 kB / 6.928 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/13.89, allocations: 25.97 kB / 6.928 GB, free: 78.64 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009706/13.89, allocations: 0.5157 MB / 6.928 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/13.89, allocations: 7.422 kB / 6.928 GB, free: 78.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/13.89, allocations: 7.969 kB / 6.928 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/13.89, allocations: 0 / 6.928 GB, free: 78.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007589/13.89, allocations: 0.5563 MB / 6.929 GB, free: 77.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/13.89, allocations: 3.094 kB / 6.929 GB, free: 77.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/13.89, allocations: 78.69 kB / 6.929 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/13.89, allocations: 11.62 kB / 6.929 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/13.89, allocations: 3.812 kB / 6.929 GB, free: 77.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003341/13.89, allocations: 1.173 MB / 6.93 GB, free: 76.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/13.89, allocations: 0 / 6.93 GB, free: 76.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/13.9, allocations: 298.2 kB / 6.93 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/13.9, allocations: 130.9 kB / 6.93 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/13.9, allocations: 0 / 6.93 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/13.9, allocations: 15.48 kB / 6.93 GB, free: 76.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/13.9, allocations: 19.36 kB / 6.93 GB, free: 76.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/13.9, allocations: 14.67 kB / 6.93 GB, free: 76.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001425/13.9, allocations: 177.8 kB / 6.931 GB, free: 76.24 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/13.9, allocations: 0 / 6.931 GB, free: 76.24 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009111/13.9, allocations: 2.012 MB / 6.933 GB, free: 75.66 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.01534/13.92, allocations: 2.767 MB / 6.935 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001268/13.92, allocations: 320.9 kB / 6.936 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/13.92, allocations: 0 / 6.936 GB, free: 74.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/13.92, allocations: 114 kB / 6.936 GB, free: 74.82 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/13.92, allocations: 56.62 kB / 6.936 GB, free: 74.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6278/14.55, allocations: 207.1 MB / 7.138 GB, free: 76.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/14.55, allocations: 0.7504 MB / 7.139 GB, free: 76.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/14.55, allocations: 71.44 kB / 7.139 GB, free: 76.1 MB / 0.5417 GB Notification: Performance of SimCode: time 3.056e-06/14.55, allocations: 0 / 7.139 GB, free: 76.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.06959/14.62, allocations: 40.74 MB / 7.179 GB, free: 58.24 MB / 0.5417 GB 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/jenkins1/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