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.002075/0.002075, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001139/0.001139, allocations: 88.42 kB / 270.9 MB, free: 8.367 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.5131/0.5131, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004591, allocations: 8 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1213, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.123/2.244, allocations: 0.5962 GB / 1.075 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/2.245, allocations: 75.03 kB / 1.075 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2326/2.477, allocations: 61.21 MB / 1.135 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.734e-06/2.477, allocations: 4 kB / 1.135 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.472e-05/2.477, allocations: 4 kB / 1.135 GB, free: 105.1 MB / 0.4948 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.001895/2.479, allocations: 0.7099 MB / 1.136 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/2.479, allocations: 8.031 kB / 1.136 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/2.492, allocations: 0.5949 MB / 1.136 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/2.493, allocations: 254.6 kB / 1.136 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/2.493, allocations: 123.4 kB / 1.136 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/2.493, allocations: 24 kB / 1.136 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/2.495, allocations: 0.5594 MB / 1.137 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/2.495, allocations: 4 kB / 1.137 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/2.495, allocations: 15.95 kB / 1.137 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/2.495, allocations: 4 kB / 1.137 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/2.497, allocations: 0.6104 MB / 1.138 GB, free: 102.1 MB / 0.4948 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.002782/2.5, allocations: 1.622 MB / 1.139 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/2.5, allocations: 158.5 kB / 1.139 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/2.501, allocations: 0.666 MB / 1.14 GB, free: 99.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/2.501, allocations: 34.56 kB / 1.14 GB, free: 99.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.407e-06/2.501, allocations: 0 / 1.14 GB, free: 99.41 MB / 0.4948 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.001586/2.503, allocations: 332.9 kB / 1.14 GB, free: 99.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/2.503, allocations: 55.58 kB / 1.14 GB, free: 99.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/2.503, allocations: 174.4 kB / 1.141 GB, free: 98.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/2.503, allocations: 29.7 kB / 1.141 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/2.503, allocations: 257.5 kB / 1.141 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/2.504, allocations: 67.09 kB / 1.141 GB, free: 98.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/2.504, allocations: 8 kB / 1.141 GB, free: 98.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/2.504, allocations: 334.8 kB / 1.141 GB, free: 98.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/2.504, allocations: 60.7 kB / 1.141 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/2.504, allocations: 267.7 kB / 1.142 GB, free: 97.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/2.504, allocations: 107.9 kB / 1.142 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/2.504, allocations: 0 / 1.142 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000898/2.505, allocations: 372.6 kB / 1.142 GB, free: 97.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/2.505, allocations: 8 kB / 1.142 GB, free: 97.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/2.505, allocations: 8 kB / 1.142 GB, free: 97.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/2.505, allocations: 8 kB / 1.142 GB, free: 97.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/2.506, allocations: 127.8 kB / 1.142 GB, free: 97.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003575/2.507, allocations: 0.6099 MB / 1.143 GB, free: 96.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/2.507, allocations: 39.53 kB / 1.143 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/2.507, allocations: 43.98 kB / 1.143 GB, free: 96.38 MB / 0.4948 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.0001846/2.507, allocations: 145.6 kB / 1.143 GB, free: 96.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/2.507, allocations: 23.8 kB / 1.143 GB, free: 96.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/2.509, allocations: 295.3 kB / 1.143 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/2.509, allocations: 3.953 kB / 1.143 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/2.509, allocations: 8 kB / 1.143 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/2.509, allocations: 0 / 1.143 GB, free: 95.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/2.51, allocations: 0.525 MB / 1.144 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.51, allocations: 0 / 1.144 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/2.51, allocations: 63.91 kB / 1.144 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/2.51, allocations: 0 / 1.144 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/2.51, allocations: 12.11 kB / 1.144 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000271/2.51, allocations: 0.5899 MB / 1.144 GB, free: 94.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.511, allocations: 7.969 kB / 1.144 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/2.511, allocations: 333.5 kB / 1.145 GB, free: 94.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/2.511, allocations: 112.8 kB / 1.145 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/2.511, allocations: 8 kB / 1.145 GB, free: 94.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003931/2.512, allocations: 15.98 kB / 1.145 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/2.512, allocations: 15.98 kB / 1.145 GB, free: 94.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/2.512, allocations: 23.92 kB / 1.145 GB, free: 94.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001319/2.512, allocations: 139 kB / 1.145 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/2.512, allocations: 0 / 1.145 GB, free: 93.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001175/2.513, allocations: 239.7 kB / 1.145 GB, free: 93.66 MB / 0.4948 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 () * 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.001508/2.515, allocations: 0.7449 MB / 1.146 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007725/2.515, allocations: 222.4 kB / 1.146 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/2.515, allocations: 0 / 1.146 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/2.516, allocations: 79.89 kB / 1.146 GB, free: 92.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/2.516, allocations: 57.41 kB / 1.146 GB, free: 92.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1163/2.633, allocations: 32.76 MB / 1.178 GB, free: 59.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/2.633, allocations: 0.7326 MB / 1.179 GB, free: 58.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/2.633, allocations: 63.41 kB / 1.179 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/2.633, allocations: 0 / 1.179 GB, free: 58.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.01735/2.651, allocations: 8.472 MB / 1.187 GB, free: 50.31 MB / 0.4948 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