Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007644/0.0007645, allocations: 94.88 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 180.2 kB / 18.26 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2028/0.2028, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 8 kB / 410.3 MB, free: 27.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 61.92 MB / 472.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4229/0.5465, allocations: 146 MB / 0.6038 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.5537, allocations: 5.153 MB / 0.6088 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.5539, allocations: 0 / 0.6088 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.5543, allocations: 51.72 kB / 0.6088 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.5583, allocations: 1.036 MB / 0.6098 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.5587, allocations: 140.4 kB / 0.61 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007218/0.5594, allocations: 470 kB / 0.6104 GB, free: 9.977 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.5595, allocations: 13.67 kB / 0.6104 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.5599, allocations: 167.3 kB / 0.6106 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.5603, allocations: 183.4 kB / 0.6108 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.625e-05/0.5603, allocations: 4 kB / 0.6108 GB, free: 9.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.5624, allocations: 0.9869 MB / 0.6117 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.5626, allocations: 43.81 kB / 0.6118 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.5627, allocations: 133.2 kB / 0.6119 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.5645, allocations: 0.8497 MB / 0.6127 GB, free: 7.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.5646, allocations: 4 kB / 0.6127 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5646, allocations: 4 kB / 0.6127 GB, free: 7.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.5646, allocations: 0 / 0.6127 GB, free: 7.59 MB / 446.1 MB 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.001557/0.5661, allocations: 0.6209 MB / 0.6134 GB, free: 6.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.5662, allocations: 12.03 kB / 0.6134 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007628/0.5738, allocations: 0.5863 MB / 0.6139 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.5744, allocations: 255.8 kB / 0.6142 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.5745, allocations: 123.4 kB / 0.6143 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5747, allocations: 24 kB / 0.6143 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.576, allocations: 0.5673 MB / 0.6149 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.576, allocations: 7.938 kB / 0.6149 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.691e-05/0.5761, allocations: 12 kB / 0.6149 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.5761, allocations: 8 kB / 0.6149 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.5776, allocations: 0.6337 MB / 0.6155 GB, free: 4.602 MB / 446.1 MB 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.002742/0.5804, allocations: 1.711 MB / 0.6172 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.5808, allocations: 161 kB / 0.6173 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.581, allocations: 77.41 kB / 0.6174 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008485/0.5818, allocations: 0.7003 MB / 0.6181 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.5819, allocations: 35.44 kB / 0.6181 GB, free: 1.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.355e-06/0.5819, allocations: 0 / 0.6181 GB, free: 1.656 MB / 446.1 MB 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=17): time 0.001052/0.583, allocations: 321.8 kB / 0.6184 GB, free: 1.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.583, allocations: 55.41 kB / 0.6185 GB, free: 1.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.5832, allocations: 191 kB / 0.6187 GB, free: 1.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.5833, allocations: 33.7 kB / 0.6187 GB, free: 1.035 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5834, allocations: 187.2 kB / 0.6189 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/0.5834, allocations: 63.09 kB / 0.619 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.5835, allocations: 37.64 kB / 0.619 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5837, allocations: 326.8 kB / 0.6193 GB, free: 420 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.5838, allocations: 68.7 kB / 0.6194 GB, free: 352 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.5841, allocations: 264 kB / 0.6196 GB, free: 15.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5846, allocations: 372.7 kB / 0.62 GB, free: 15.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.5846, allocations: 4 kB / 0.62 GB, free: 15.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007057/0.5853, allocations: 369.5 kB / 0.6203 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5854, allocations: 8 kB / 0.6203 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.5854, allocations: 8 kB / 0.6203 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.5854, allocations: 15.92 kB / 0.6204 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.5859, allocations: 123.8 kB / 0.6205 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004588/0.5863, allocations: 0.6057 MB / 0.6211 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.5866, allocations: 47.59 kB / 0.6211 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.5867, allocations: 42.94 kB / 0.6212 GB, free: 14.3 MB / 462.1 MB 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.5869, allocations: 150.1 kB / 0.6213 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.587, allocations: 15.81 kB / 0.6213 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009717/0.588, allocations: 444.8 kB / 0.6217 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.588, allocations: 0 / 0.6217 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.588, allocations: 0 / 0.6217 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.588, allocations: 0 / 0.6217 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.5889, allocations: 0.6343 MB / 0.6224 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5889, allocations: 4 kB / 0.6224 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.5891, allocations: 51.97 kB / 0.6224 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5892, allocations: 4 kB / 0.6224 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.5892, allocations: 11.98 kB / 0.6224 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000325/0.5895, allocations: 0.5937 MB / 0.623 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5895, allocations: 4.281 kB / 0.623 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.5899, allocations: 300.1 kB / 0.6233 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.59, allocations: 120 kB / 0.6234 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.5901, allocations: 4 kB / 0.6234 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.5903, allocations: 15.98 kB / 0.6234 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.5904, allocations: 11.98 kB / 0.6234 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.5904, allocations: 19.98 kB / 0.6235 GB, free: 11.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.5906, allocations: 144.2 kB / 0.6236 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5906, allocations: 3.938 kB / 0.6236 GB, free: 11.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006858/0.5913, allocations: 156 kB / 0.6238 GB, free: 11.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007036/0.592, allocations: 244.6 kB / 0.624 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.5925, allocations: 224 kB / 0.6242 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5926, allocations: 0 / 0.6242 GB, free: 10.99 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.5928, allocations: 81.33 kB / 0.6243 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.5934, allocations: 64.19 kB / 0.6243 GB, free: 10.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.5948, allocations: 0.797 MB / 0.6251 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.5953, allocations: 0.7248 MB / 0.6258 GB, free: 9.254 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008742/0.5962, allocations: 390 kB / 0.6262 GB, free: 8.875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.5964, allocations: 67.27 kB / 0.6263 GB, free: 8.809 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5964, allocations: 0 / 0.6263 GB, free: 8.809 MB / 462.1 MB Notification: Performance of Templates: time 0.009871/0.6062, allocations: 5.03 MB / 0.6312 GB, free: 3.816 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches