Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009904/0.0009904, allocations: 183.3 kB / 13.19 MB, free: 2.129 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.219/1.219, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0006987/0.0006986, allocations: 100.7 kB / 267.1 MB, free: 9.277 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.3186/0.3186, allocations: 43.47 MB / 358.6 MB, free: 51.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.584e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 58.85 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.315, allocations: 0.5962 GB / 1.069 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/1.315, allocations: 71.97 kB / 1.069 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3651/1.68, allocations: 61.06 MB / 1.129 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.203e-06/1.68, allocations: 3.031 kB / 1.129 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.271e-05/1.68, allocations: 3.906 kB / 1.129 GB, free: 153.2 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.001415/1.682, allocations: 0.7041 MB / 1.129 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.682, allocations: 9.656 kB / 1.129 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006263/1.688, allocations: 0.5949 MB / 1.13 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/1.688, allocations: 252.4 kB / 1.13 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/1.688, allocations: 121 kB / 1.13 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/1.689, allocations: 23.27 kB / 1.13 GB, free: 152.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008761/1.689, allocations: 0.521 MB / 1.131 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.689, allocations: 7.922 kB / 1.131 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.003e-05/1.69, allocations: 9.625 kB / 1.131 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/1.69, allocations: 11.06 kB / 1.131 GB, free: 152.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00095/1.691, allocations: 0.5626 MB / 1.131 GB, free: 152.2 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.001688/1.692, allocations: 1.628 MB / 1.133 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/1.692, allocations: 153.1 kB / 1.133 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/1.693, allocations: 69.44 kB / 1.133 GB, free: 151 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/1.693, allocations: 0.6947 MB / 1.134 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/1.693, allocations: 41.2 kB / 1.134 GB, free: 150.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/1.693, allocations: 0 / 1.134 GB, free: 150.4 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.0008409/1.694, allocations: 275.7 kB / 1.134 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/1.694, allocations: 57.91 kB / 1.134 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.694, allocations: 171.2 kB / 1.134 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/1.694, allocations: 30.22 kB / 1.134 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/1.694, allocations: 185.9 kB / 1.135 GB, free: 150 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/1.694, allocations: 65.88 kB / 1.135 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/1.695, allocations: 12.72 kB / 1.135 GB, free: 149.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/1.695, allocations: 322.9 kB / 1.135 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/1.695, allocations: 59.3 kB / 1.135 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/1.695, allocations: 263.4 kB / 1.135 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/1.695, allocations: 105.8 kB / 1.135 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.695, allocations: 3.188 kB / 1.135 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004843/1.696, allocations: 357.5 kB / 1.136 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.696, allocations: 7 kB / 1.136 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.696, allocations: 7.703 kB / 1.136 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/1.696, allocations: 17.05 kB / 1.136 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003734/1.696, allocations: 124 kB / 1.136 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002466/1.696, allocations: 0.6066 MB / 1.136 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.696, allocations: 43.34 kB / 1.137 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/1.697, allocations: 42.12 kB / 1.137 GB, free: 148.7 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 9.471e-05/1.697, allocations: 139.2 kB / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/1.697, allocations: 22.45 kB / 1.137 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006951/1.697, allocations: 289.9 kB / 1.137 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/1.697, allocations: 0 / 1.137 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.697, allocations: 0 / 1.137 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.697, allocations: 0 / 1.137 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/1.698, allocations: 0.5276 MB / 1.138 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.698, allocations: 3.938 kB / 1.138 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/1.698, allocations: 65.14 kB / 1.138 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.698, allocations: 3.156 kB / 1.138 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.698, allocations: 8.219 kB / 1.138 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001939/1.699, allocations: 0.5998 MB / 1.138 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.699, allocations: 7.406 kB / 1.138 GB, free: 147.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/1.699, allocations: 317.3 kB / 1.138 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.406e-05/1.699, allocations: 116.6 kB / 1.139 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/1.699, allocations: 6.906 kB / 1.139 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/1.699, allocations: 9.938 kB / 1.139 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/1.699, allocations: 21.05 kB / 1.139 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/1.699, allocations: 23.23 kB / 1.139 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.594e-05/1.699, allocations: 132.4 kB / 1.139 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/1.699, allocations: 0 / 1.139 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009756/1.7, allocations: 243.4 kB / 1.139 GB, free: 147.1 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.00115/1.701, allocations: 0.7406 MB / 1.14 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003898/1.702, allocations: 212.5 kB / 1.14 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.702, allocations: 0 / 1.14 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/1.702, allocations: 76.86 kB / 1.14 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/1.702, allocations: 55.91 kB / 1.14 GB, free: 146.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06886/1.771, allocations: 32.37 MB / 1.172 GB, free: 140.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/1.771, allocations: 0.73 MB / 1.172 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006249/1.772, allocations: 110.5 kB / 1.172 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.772, allocations: 50.91 kB / 1.173 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/1.772, allocations: 3.938 kB / 1.173 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01674/1.789, allocations: 13.61 MB / 1.186 GB, free: 134 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches