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.001084/0.001084, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.00114/0.00114, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.328/1.328, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.2103/0.2103, allocations: 44.17 MB / 336.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 55.06 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3556/0.4627, allocations: 148 MB / 0.6029 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.4686, allocations: 5.131 MB / 0.6079 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.4688, allocations: 4 kB / 0.6079 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.4691, allocations: 47.72 kB / 0.608 GB, free: 7.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003437/0.4726, allocations: 1.096 MB / 0.609 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.4729, allocations: 132.9 kB / 0.6092 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.4736, allocations: 398.1 kB / 0.6096 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.4736, allocations: 17.69 kB / 0.6096 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.474, allocations: 171.3 kB / 0.6097 GB, free: 6.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.4743, allocations: 179.5 kB / 0.6099 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.4744, allocations: 8 kB / 0.6099 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.4764, allocations: 1.014 MB / 0.6109 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.37e-05/0.4765, allocations: 47.77 kB / 0.6109 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.4766, allocations: 107.5 kB / 0.6111 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.4777, allocations: 0.6044 MB / 0.6116 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4777, allocations: 0 / 0.6116 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4777, allocations: 0 / 0.6116 GB, free: 4.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4777, allocations: 0 / 0.6116 GB, free: 4.133 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.001537/0.4793, allocations: 0.6911 MB / 0.6123 GB, free: 3.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4793, allocations: 11.97 kB / 0.6123 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007543/0.4869, allocations: 0.5897 MB / 0.6129 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.4873, allocations: 263.7 kB / 0.6132 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.4875, allocations: 123.4 kB / 0.6133 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.4876, allocations: 24 kB / 0.6133 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4888, allocations: 0.5634 MB / 0.6138 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4889, allocations: 4 kB / 0.6138 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.489, allocations: 12 kB / 0.6139 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.489, allocations: 7.938 kB / 0.6139 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.4905, allocations: 0.626 MB / 0.6145 GB, free: 1.078 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.002298/0.4928, allocations: 1.711 MB / 0.6162 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.4931, allocations: 158.5 kB / 0.6163 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.4933, allocations: 80.91 kB / 0.6164 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.494, allocations: 0.7003 MB / 0.6171 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.494, allocations: 38.5 kB / 0.6171 GB, free: 14.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.644e-06/0.494, allocations: 0 / 0.6171 GB, free: 14.12 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.0009996/0.495, allocations: 320.2 kB / 0.6174 GB, free: 13.81 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.4951, allocations: 55.34 kB / 0.6175 GB, free: 13.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.4953, allocations: 195 kB / 0.6176 GB, free: 13.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.4953, allocations: 29.7 kB / 0.6177 GB, free: 13.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4954, allocations: 191.2 kB / 0.6179 GB, free: 13.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.4955, allocations: 71.09 kB / 0.6179 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.4956, allocations: 93.95 kB / 0.618 GB, free: 13.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4958, allocations: 326.8 kB / 0.6183 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4959, allocations: 68.7 kB / 0.6184 GB, free: 12.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.4962, allocations: 260 kB / 0.6186 GB, free: 12.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.4967, allocations: 365.2 kB / 0.619 GB, free: 11.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.4967, allocations: 4 kB / 0.619 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006418/0.4973, allocations: 373.1 kB / 0.6193 GB, free: 11.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4974, allocations: 11.94 kB / 0.6194 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4974, allocations: 4 kB / 0.6194 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4974, allocations: 15.94 kB / 0.6194 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.4978, allocations: 123.8 kB / 0.6195 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003627/0.4982, allocations: 0.6021 MB / 0.6201 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.4985, allocations: 49.28 kB / 0.6201 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.4985, allocations: 39.98 kB / 0.6202 GB, free: 10.71 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.0001468/0.4987, allocations: 150.1 kB / 0.6203 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.4988, allocations: 19.81 kB / 0.6203 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009152/0.4997, allocations: 432.1 kB / 0.6207 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4997, allocations: 4 kB / 0.6207 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4997, allocations: 3.938 kB / 0.6207 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4997, allocations: 3.984 kB / 0.6208 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/0.5006, allocations: 0.6304 MB / 0.6214 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5006, allocations: 0 / 0.6214 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5009, allocations: 59.91 kB / 0.6214 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5009, allocations: 7.938 kB / 0.6214 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5009, allocations: 8 kB / 0.6214 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003042/0.5012, allocations: 0.5979 MB / 0.622 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5012, allocations: 4 kB / 0.622 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.5016, allocations: 300.3 kB / 0.6223 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.844e-05/0.5017, allocations: 108.8 kB / 0.6224 GB, free: 8.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.5018, allocations: 4 kB / 0.6224 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.502, allocations: 15.98 kB / 0.6224 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.5021, allocations: 11.98 kB / 0.6224 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.5021, allocations: 23.98 kB / 0.6225 GB, free: 8.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.5023, allocations: 140.2 kB / 0.6226 GB, free: 8.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5023, allocations: 0 / 0.6226 GB, free: 8.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006161/0.5029, allocations: 155.8 kB / 0.6228 GB, free: 7.879 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.0005536/0.5035, allocations: 242.7 kB / 0.623 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.504, allocations: 241.2 kB / 0.6232 GB, free: 7.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.504, allocations: 4 kB / 0.6232 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.5042, allocations: 72.48 kB / 0.6233 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.5048, allocations: 68.02 kB / 0.6234 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.5061, allocations: 0.7816 MB / 0.6241 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5064, allocations: 0.7284 MB / 0.6248 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/0.5067, allocations: 95.34 kB / 0.6249 GB, free: 5.582 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5067, allocations: 0 / 0.6249 GB, free: 5.582 MB / 462.1 MB Notification: Performance of Templates: time 0.008337/0.5151, allocations: 5.287 MB / 0.6301 GB, free: 308 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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