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.001226/0.001226, allocations: 103.1 kB / 17.63 MB, free: 5.344 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.001078/0.001078, allocations: 192 kB / 18.56 MB, free: 4.434 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.301/1.301, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 64.55 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1339, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3542/0.4881, allocations: 150.1 MB / 0.6048 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005439/0.4936, allocations: 5.141 MB / 0.6099 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.4938, allocations: 4 kB / 0.6099 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.4941, allocations: 55.59 kB / 0.6099 GB, free: 5.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.4971, allocations: 1.2 MB / 0.6111 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.4974, allocations: 151.6 kB / 0.6112 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.4979, allocations: 394.1 kB / 0.6116 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.4979, allocations: 13.69 kB / 0.6116 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.4981, allocations: 167.3 kB / 0.6118 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.4984, allocations: 171.5 kB / 0.612 GB, free: 3.262 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.4984, allocations: 8 kB / 0.612 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.5004, allocations: 0.9753 MB / 0.6129 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.5005, allocations: 43.81 kB / 0.613 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.5006, allocations: 107.5 kB / 0.6131 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.5025, allocations: 0.8459 MB / 0.6139 GB, free: 1.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.5026, allocations: 0 / 0.6139 GB, free: 1.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5026, allocations: 0 / 0.6139 GB, free: 1.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.5026, allocations: 0 / 0.6139 GB, free: 1.281 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.0013/0.5039, allocations: 0.6795 MB / 0.6145 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.5039, allocations: 8.031 kB / 0.6146 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00756/0.5115, allocations: 0.5897 MB / 0.6151 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.5119, allocations: 267.7 kB / 0.6154 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.512, allocations: 123.4 kB / 0.6155 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-05/0.5121, allocations: 24 kB / 0.6155 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.5132, allocations: 0.5673 MB / 0.6161 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5133, allocations: 0 / 0.6161 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.5134, allocations: 12 kB / 0.6161 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.5134, allocations: 8 kB / 0.6161 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.5148, allocations: 0.6299 MB / 0.6167 GB, free: 14.23 MB / 462.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.002111/0.5169, allocations: 1.719 MB / 0.6184 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.5173, allocations: 150.6 kB / 0.6185 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5174, allocations: 80.78 kB / 0.6186 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.518, allocations: 0.7082 MB / 0.6193 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.5181, allocations: 34.56 kB / 0.6193 GB, free: 11.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.5181, allocations: 0 / 0.6193 GB, free: 11.27 MB / 462.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.0009833/0.5191, allocations: 316.2 kB / 0.6196 GB, free: 10.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5191, allocations: 55.41 kB / 0.6197 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5193, allocations: 194.9 kB / 0.6199 GB, free: 10.7 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.5193, allocations: 33.7 kB / 0.6199 GB, free: 10.66 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5195, allocations: 183.2 kB / 0.6201 GB, free: 10.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.5195, allocations: 71.08 kB / 0.6202 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.5197, allocations: 93.95 kB / 0.6202 GB, free: 10.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5198, allocations: 326.8 kB / 0.6206 GB, free: 9.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.5199, allocations: 68.7 kB / 0.6206 GB, free: 9.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.5202, allocations: 264 kB / 0.6209 GB, free: 9.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.5207, allocations: 363.7 kB / 0.6212 GB, free: 9.105 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5207, allocations: 8 kB / 0.6212 GB, free: 9.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006316/0.5213, allocations: 373.9 kB / 0.6216 GB, free: 8.727 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5214, allocations: 11.94 kB / 0.6216 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5214, allocations: 8 kB / 0.6216 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.5214, allocations: 11.94 kB / 0.6216 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.5218, allocations: 127.8 kB / 0.6217 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/0.5222, allocations: 0.6021 MB / 0.6223 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.5224, allocations: 43.53 kB / 0.6224 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.5225, allocations: 47.98 kB / 0.6224 GB, free: 7.855 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.0001431/0.5226, allocations: 145.6 kB / 0.6225 GB, free: 7.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.5227, allocations: 15.81 kB / 0.6226 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008893/0.5236, allocations: 437.3 kB / 0.623 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5236, allocations: 3.062 kB / 0.623 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5236, allocations: 0 / 0.623 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5236, allocations: 3.984 kB / 0.623 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.5245, allocations: 0.6304 MB / 0.6236 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5245, allocations: 4 kB / 0.6236 GB, free: 6.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.5247, allocations: 59.91 kB / 0.6237 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5247, allocations: 7.938 kB / 0.6237 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5248, allocations: 4 kB / 0.6237 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003438/0.5251, allocations: 0.6057 MB / 0.6243 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5251, allocations: 0 / 0.6243 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.5255, allocations: 297.1 kB / 0.6246 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5256, allocations: 104.8 kB / 0.6247 GB, free: 5.375 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.5256, allocations: 7.984 kB / 0.6247 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.5259, allocations: 12 kB / 0.6247 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.5259, allocations: 15.98 kB / 0.6247 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.526, allocations: 19.98 kB / 0.6247 GB, free: 5.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.5261, allocations: 144.2 kB / 0.6248 GB, free: 5.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5261, allocations: 0 / 0.6248 GB, free: 5.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006247/0.5267, allocations: 155.9 kB / 0.625 GB, free: 5.027 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.0005243/0.5273, allocations: 239.8 kB / 0.6252 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.5278, allocations: 239.7 kB / 0.6254 GB, free: 4.559 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5278, allocations: 3.938 kB / 0.6255 GB, free: 4.555 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.528, allocations: 73.59 kB / 0.6255 GB, free: 4.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.5285, allocations: 66.5 kB / 0.6256 GB, free: 4.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.5298, allocations: 0.6893 MB / 0.6263 GB, free: 3.684 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.53, allocations: 0.7206 MB / 0.627 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007817/0.5308, allocations: 390.9 kB / 0.6273 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.531, allocations: 63.39 kB / 0.6274 GB, free: 2.492 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.531, allocations: 0 / 0.6274 GB, free: 2.492 MB / 462.1 MB Notification: Performance of Templates: time 0.009944/0.541, allocations: 5.167 MB / 0.6324 GB, free: 13.36 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches