Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 181.8 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.325/2.325, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001086/0.001085, allocations: 98.67 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2888/0.2888, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.474e-05/4.484e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1596, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.997/2.156, allocations: 0.5962 GB / 1.069 GB, free: 38.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/2.157, allocations: 78.48 kB / 1.069 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5764/2.733, allocations: 61.04 MB / 1.129 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/2.733, allocations: 1.469 kB / 1.129 GB, free: 166.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.901e-05/2.733, allocations: 2.875 kB / 1.129 GB, free: 166.7 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.002375/2.735, allocations: 0.704 MB / 1.129 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/2.736, allocations: 8.75 kB / 1.129 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/2.748, allocations: 0.595 MB / 1.13 GB, free: 166.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/2.749, allocations: 254.6 kB / 1.13 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/2.749, allocations: 120.3 kB / 1.13 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/2.749, allocations: 22.81 kB / 1.13 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/2.75, allocations: 0.5387 MB / 1.131 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/2.75, allocations: 0 / 1.131 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/2.751, allocations: 12.12 kB / 1.131 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/2.751, allocations: 6.469 kB / 1.131 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/2.752, allocations: 0.5695 MB / 1.131 GB, free: 165.7 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00306/2.755, allocations: 1.619 MB / 1.133 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/2.756, allocations: 154.4 kB / 1.133 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/2.756, allocations: 75.34 kB / 1.133 GB, free: 164.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/2.757, allocations: 0.6866 MB / 1.134 GB, free: 163.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/2.757, allocations: 46.89 kB / 1.134 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.946e-06/2.757, allocations: 0 / 1.134 GB, free: 163.8 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=18): time 0.001283/2.759, allocations: 269.2 kB / 1.134 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/2.759, allocations: 61.16 kB / 1.134 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/2.759, allocations: 173.4 kB / 1.134 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/2.759, allocations: 30.89 kB / 1.134 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/2.759, allocations: 252.5 kB / 1.135 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/2.759, allocations: 69.86 kB / 1.135 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/2.759, allocations: 3.812 kB / 1.135 GB, free: 163.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.279e-05/2.759, allocations: 328.3 kB / 1.135 GB, free: 163 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/2.759, allocations: 62.97 kB / 1.135 GB, free: 163 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/2.76, allocations: 265.7 kB / 1.135 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/2.76, allocations: 99.44 kB / 1.135 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/2.76, allocations: 6.562 kB / 1.135 GB, free: 162.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008102/2.761, allocations: 353.8 kB / 1.136 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/2.761, allocations: 7.875 kB / 1.136 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.761, allocations: 10.47 kB / 1.136 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/2.761, allocations: 15.39 kB / 1.136 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/2.762, allocations: 122.8 kB / 1.136 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/2.762, allocations: 0.6093 MB / 1.137 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/2.763, allocations: 42.34 kB / 1.137 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/2.763, allocations: 42.2 kB / 1.137 GB, free: 162.1 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 () * 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.0001765/2.763, allocations: 132 kB / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.629e-05/2.763, allocations: 19.58 kB / 1.137 GB, free: 162 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/2.764, allocations: 291.2 kB / 1.137 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/2.764, allocations: 3.938 kB / 1.137 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/2.764, allocations: 3.234 kB / 1.137 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/2.764, allocations: 0 / 1.137 GB, free: 161.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009457/2.765, allocations: 0.5423 MB / 1.138 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/2.765, allocations: 0 / 1.138 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/2.766, allocations: 64.06 kB / 1.138 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/2.766, allocations: 0 / 1.138 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/2.766, allocations: 7.906 kB / 1.138 GB, free: 161.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002991/2.766, allocations: 0.5992 MB / 1.138 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.766, allocations: 0 / 1.138 GB, free: 161 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/2.766, allocations: 326.6 kB / 1.139 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/2.767, allocations: 114.6 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/2.767, allocations: 2.25 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/2.767, allocations: 18.09 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/2.767, allocations: 13.88 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/2.767, allocations: 30.03 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001473/2.767, allocations: 129.9 kB / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/2.767, allocations: 0 / 1.139 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001337/2.769, allocations: 245 kB / 1.139 GB, free: 160.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.001756/2.771, allocations: 0.7296 MB / 1.14 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008261/2.771, allocations: 208.3 kB / 1.14 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/2.771, allocations: 0 / 1.14 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/2.772, allocations: 87.38 kB / 1.14 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/2.772, allocations: 45.66 kB / 1.14 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1198/2.892, allocations: 32.4 MB / 1.172 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/2.893, allocations: 0.7363 MB / 1.172 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/2.893, allocations: 75.31 kB / 1.173 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.163e-06/2.893, allocations: 0 / 1.173 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01717/2.91, allocations: 8.45 MB / 1.181 GB, free: 142.7 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches