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.001231/0.001231, allocations: 183.5 kB / 15.76 MB, free: 6.367 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.792/1.792, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00091/0.0009099, allocations: 90.84 kB / 270.2 MB, free: 13.36 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.2212/0.2212, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003038, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1321, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.584/1.716, allocations: 0.5963 GB / 1.075 GB, free: 49.07 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.716, allocations: 76.92 kB / 1.075 GB, free: 49 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4406/2.157, allocations: 61.18 MB / 1.135 GB, free: 168 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.215e-06/2.157, allocations: 4.938 kB / 1.135 GB, free: 168 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.61e-05/2.157, allocations: 2.969 kB / 1.135 GB, free: 168 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.002088/2.159, allocations: 0.7113 MB / 1.136 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/2.159, allocations: 15.09 kB / 1.136 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/2.166, allocations: 0.5891 MB / 1.136 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/2.167, allocations: 260.1 kB / 1.136 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/2.167, allocations: 123.4 kB / 1.136 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/2.167, allocations: 19.84 kB / 1.136 GB, free: 167.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/2.168, allocations: 0.5571 MB / 1.137 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/2.168, allocations: 3.844 kB / 1.137 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/2.168, allocations: 10.75 kB / 1.137 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/2.168, allocations: 10.83 kB / 1.137 GB, free: 167.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/2.17, allocations: 0.6006 MB / 1.138 GB, free: 167.1 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.002084/2.172, allocations: 1.625 MB / 1.139 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/2.172, allocations: 161.8 kB / 1.139 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/2.173, allocations: 0.6715 MB / 1.14 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/2.173, allocations: 31.94 kB / 1.14 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 4.018e-06/2.173, allocations: 1.875 kB / 1.14 GB, free: 165.2 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.0011/2.174, allocations: 327.4 kB / 1.14 GB, free: 165.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/2.174, allocations: 56.81 kB / 1.14 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/2.174, allocations: 172.7 kB / 1.141 GB, free: 165 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/2.174, allocations: 30.89 kB / 1.141 GB, free: 165 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/2.175, allocations: 190.1 kB / 1.141 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/2.175, allocations: 65.64 kB / 1.141 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/2.175, allocations: 6.156 kB / 1.141 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/2.175, allocations: 332.8 kB / 1.141 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/2.175, allocations: 66.52 kB / 1.141 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/2.175, allocations: 268.8 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/2.175, allocations: 99.73 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/2.175, allocations: 2.656 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006773/2.176, allocations: 364 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/2.176, allocations: 7.719 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/2.176, allocations: 7.094 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/2.176, allocations: 13.72 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004873/2.177, allocations: 127 kB / 1.142 GB, free: 164.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003941/2.177, allocations: 0.6109 MB / 1.143 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/2.177, allocations: 47.59 kB / 1.143 GB, free: 163.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.556e-05/2.177, allocations: 43.95 kB / 1.143 GB, free: 163.6 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.0001707/2.178, allocations: 143.3 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/2.178, allocations: 18.5 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/2.179, allocations: 297.2 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/2.179, allocations: 2.312 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/2.179, allocations: 3.953 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/2.179, allocations: 1.219 kB / 1.143 GB, free: 163.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/2.18, allocations: 0.5264 MB / 1.144 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/2.18, allocations: 4.984 kB / 1.144 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/2.18, allocations: 64.69 kB / 1.144 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/2.18, allocations: 2.688 kB / 1.144 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/2.18, allocations: 13.06 kB / 1.144 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003126/2.18, allocations: 0.5878 MB / 1.144 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.18, allocations: 2.844 kB / 1.144 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/2.181, allocations: 328 kB / 1.145 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/2.181, allocations: 123.9 kB / 1.145 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/2.181, allocations: 6.406 kB / 1.145 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/2.181, allocations: 9.172 kB / 1.145 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/2.181, allocations: 18.2 kB / 1.145 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/2.181, allocations: 23.31 kB / 1.145 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001238/2.181, allocations: 138.8 kB / 1.145 GB, free: 162 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/2.181, allocations: 0 / 1.145 GB, free: 162 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001387/2.183, allocations: 250 kB / 1.145 GB, free: 162 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 () * 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.00152/2.184, allocations: 0.74 MB / 1.146 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000604/2.185, allocations: 214.1 kB / 1.146 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.185, allocations: 0 / 1.146 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/2.185, allocations: 79.69 kB / 1.146 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/2.186, allocations: 53.94 kB / 1.146 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07091/2.257, allocations: 32.76 MB / 1.178 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/2.257, allocations: 0.7313 MB / 1.179 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007304/2.258, allocations: 117.7 kB / 1.179 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/2.258, allocations: 48.89 kB / 1.179 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of SimCode: time 3.467e-06/2.258, allocations: 3.938 kB / 1.179 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01736/2.275, allocations: 12 MB / 1.191 GB, free: 144.4 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