Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.00145, allocations: 180.8 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 223.6 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007334/0.0007333, allocations: 87.89 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.56 MB / 363.7 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 15.94 kB / 432.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 58.85 MB / 491.4 MB, free: 10.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.146, allocations: 497.8 MB / 0.966 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.146, allocations: 75.97 kB / 0.9661 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1199/1.266, allocations: 57.31 MB / 1.022 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/1.266, allocations: 0 / 1.022 GB, free: 72.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.266, allocations: 4 kB / 1.022 GB, free: 72.11 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001536/1.268, allocations: 0.6935 MB / 1.023 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.268, allocations: 12.03 kB / 1.023 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006605/1.274, allocations: 0.5957 MB / 1.023 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/1.275, allocations: 264.1 kB / 1.024 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.275, allocations: 119.9 kB / 1.024 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/1.275, allocations: 32.28 kB / 1.024 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.276, allocations: 0.56 MB / 1.024 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.276, allocations: 3.938 kB / 1.024 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/1.276, allocations: 12 kB / 1.024 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/1.276, allocations: 8 kB / 1.024 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/1.278, allocations: 0.6026 MB / 1.025 GB, free: 69.07 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/1.279, allocations: 1.648 MB / 1.026 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/1.28, allocations: 156.6 kB / 1.027 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/1.28, allocations: 72.88 kB / 1.027 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/1.281, allocations: 2.089 MB / 1.029 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.281, allocations: 42.56 kB / 1.029 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/1.281, allocations: 0 / 1.029 GB, free: 64.58 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=20): time 0.000929/1.282, allocations: 341.3 kB / 1.029 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/1.282, allocations: 59.41 kB / 1.029 GB, free: 64.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.283, allocations: 170.2 kB / 1.029 GB, free: 64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/1.283, allocations: 33.7 kB / 1.029 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.167e-05/1.283, allocations: 183.3 kB / 1.03 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/1.283, allocations: 67.02 kB / 1.03 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/1.283, allocations: 8 kB / 1.03 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/1.283, allocations: 334.8 kB / 1.03 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.283, allocations: 64.72 kB / 1.03 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/1.283, allocations: 267.7 kB / 1.03 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/1.283, allocations: 366.2 kB / 1.031 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.283, allocations: 0 / 1.031 GB, free: 62.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005321/1.284, allocations: 370.5 kB / 1.031 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.284, allocations: 12 kB / 1.031 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.284, allocations: 4 kB / 1.031 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.284, allocations: 12 kB / 1.031 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/1.284, allocations: 119.8 kB / 1.031 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002556/1.285, allocations: 0.6055 MB / 1.032 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/1.285, allocations: 47.53 kB / 1.032 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/1.285, allocations: 44.08 kB / 1.032 GB, free: 61.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.285, allocations: 145.6 kB / 1.032 GB, free: 61.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/1.285, allocations: 19.81 kB / 1.032 GB, free: 61.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/1.286, allocations: 326 kB / 1.032 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.286, allocations: 0 / 1.032 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.286, allocations: 4 kB / 1.032 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.286, allocations: 0 / 1.032 GB, free: 60.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/1.287, allocations: 0.5412 MB / 1.033 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.287, allocations: 4 kB / 1.033 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/1.287, allocations: 59.95 kB / 1.033 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.287, allocations: 11.88 kB / 1.033 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/1.287, allocations: 15.98 kB / 1.033 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001838/1.287, allocations: 0.59 MB / 1.033 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.287, allocations: 4.031 kB / 1.033 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/1.287, allocations: 283.6 kB / 1.034 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/1.287, allocations: 116.8 kB / 1.034 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/1.288, allocations: 4 kB / 1.034 GB, free: 58.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.288, allocations: 23.89 kB / 1.034 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/1.288, allocations: 15.97 kB / 1.034 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/1.288, allocations: 27.92 kB / 1.034 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.645e-05/1.288, allocations: 131.2 kB / 1.034 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.288, allocations: 3.938 kB / 1.034 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00101/1.289, allocations: 255.8 kB / 1.034 GB, free: 58.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001471/1.29, allocations: 0.7451 MB / 1.035 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005054/1.291, allocations: 216.7 kB / 1.035 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.291, allocations: 3.938 kB / 1.035 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/1.291, allocations: 95.75 kB / 1.035 GB, free: 57.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/1.292, allocations: 59.59 kB / 1.035 GB, free: 57.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/1.329, allocations: 20.36 MB / 1.055 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/1.329, allocations: 0.7248 MB / 1.056 GB, free: 36.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.329, allocations: 59.42 kB / 1.056 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/1.329, allocations: 0 / 1.056 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.0107/1.34, allocations: 8.11 MB / 1.064 GB, free: 27.98 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches