Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007473/0.0007472, allocations: 93.91 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008656/0.0008656, allocations: 202.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.7 MB / 247.5 MB, free: 9.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.188/0.188, allocations: 46.18 MB / 345.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.000261, allocations: 11.94 kB / 420.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 63.57 MB / 483.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3581/0.4622, allocations: 148.9 MB / 0.6178 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.4679, allocations: 5.155 MB / 0.6228 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.468, allocations: 0 / 0.6228 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.4683, allocations: 43.8 kB / 0.6229 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.4714, allocations: 1.056 MB / 0.6239 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.4717, allocations: 135.3 kB / 0.624 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.4724, allocations: 466 kB / 0.6245 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.4724, allocations: 13.69 kB / 0.6245 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.4728, allocations: 167.3 kB / 0.6246 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/0.4731, allocations: 179.4 kB / 0.6248 GB, free: 8.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.4732, allocations: 8 kB / 0.6248 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.4751, allocations: 0.9947 MB / 0.6258 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.4752, allocations: 43.81 kB / 0.6258 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.4754, allocations: 133.2 kB / 0.6259 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.4764, allocations: 0.6042 MB / 0.6265 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4764, allocations: 0 / 0.6265 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4764, allocations: 0 / 0.6265 GB, free: 6.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4764, allocations: 0 / 0.6265 GB, free: 6.809 MB / 462.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.00136/0.4778, allocations: 0.6242 MB / 0.6271 GB, free: 6.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4779, allocations: 8.875 kB / 0.6272 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/0.486, allocations: 0.6063 MB / 0.6277 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.4864, allocations: 267.7 kB / 0.628 GB, free: 5.219 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.4866, allocations: 115.4 kB / 0.6281 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4867, allocations: 24 kB / 0.6281 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.488, allocations: 0.5634 MB / 0.6287 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.488, allocations: 3.938 kB / 0.6287 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-05/0.4881, allocations: 12 kB / 0.6287 GB, free: 4.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.4881, allocations: 8 kB / 0.6287 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.4896, allocations: 0.6338 MB / 0.6293 GB, free: 3.805 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.002152/0.4917, allocations: 1.714 MB / 0.631 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.4921, allocations: 154.5 kB / 0.6311 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.4922, allocations: 72.83 kB / 0.6312 GB, free: 1.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.4929, allocations: 0.7006 MB / 0.6319 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.493, allocations: 38.56 kB / 0.6319 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.493, allocations: 0 / 0.6319 GB, free: 0.8594 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.0009972/0.494, allocations: 322.3 kB / 0.6322 GB, free: 0.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.494, allocations: 63.41 kB / 0.6323 GB, free: 480 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.4942, allocations: 191 kB / 0.6325 GB, free: 280 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.4943, allocations: 33.7 kB / 0.6325 GB, free: 240 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4944, allocations: 187.2 kB / 0.6327 GB, free: 44 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.4944, allocations: 63.44 kB / 0.6328 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.4945, allocations: 37.7 kB / 0.6328 GB, free: 15.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4946, allocations: 322.8 kB / 0.6331 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4948, allocations: 64.7 kB / 0.6332 GB, free: 15.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.4951, allocations: 268 kB / 0.6334 GB, free: 15.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005152/0.4956, allocations: 366.8 kB / 0.6338 GB, free: 14.74 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.4957, allocations: 4 kB / 0.6338 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006312/0.4963, allocations: 372.6 kB / 0.6341 GB, free: 14.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4963, allocations: 8 kB / 0.6341 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4963, allocations: 12.06 kB / 0.6341 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.4964, allocations: 15.92 kB / 0.6342 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.4968, allocations: 131.8 kB / 0.6343 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003325/0.4971, allocations: 0.6016 MB / 0.6349 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.4974, allocations: 43.53 kB / 0.6349 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.4975, allocations: 40 kB / 0.635 GB, free: 13.5 MB / 478.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.0001512/0.4976, allocations: 153.7 kB / 0.6351 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.4977, allocations: 22.94 kB / 0.6351 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009023/0.4986, allocations: 433.5 kB / 0.6355 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4986, allocations: 4 kB / 0.6355 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4986, allocations: 0 / 0.6355 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4986, allocations: 0 / 0.6355 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.4995, allocations: 0.6266 MB / 0.6362 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.4995, allocations: 0 / 0.6362 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.4997, allocations: 51.97 kB / 0.6362 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.4998, allocations: 8.219 kB / 0.6362 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4998, allocations: 11.98 kB / 0.6362 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003022/0.5001, allocations: 0.5938 MB / 0.6368 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5001, allocations: 8.016 kB / 0.6368 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.5005, allocations: 297.2 kB / 0.6371 GB, free: 11.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5006, allocations: 116.8 kB / 0.6372 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.5006, allocations: 4 kB / 0.6372 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.5009, allocations: 22.98 kB / 0.6372 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.501, allocations: 11.98 kB / 0.6372 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.501, allocations: 23.98 kB / 0.6373 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.5011, allocations: 136.2 kB / 0.6374 GB, free: 10.81 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5011, allocations: 0 / 0.6374 GB, free: 10.81 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.5018, allocations: 155.9 kB / 0.6375 GB, free: 10.66 MB / 478.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.0006122/0.5024, allocations: 252.6 kB / 0.6378 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.5029, allocations: 217.4 kB / 0.638 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5029, allocations: 4.062 kB / 0.638 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.5031, allocations: 79.83 kB / 0.6381 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005867/0.5037, allocations: 64.38 kB / 0.6381 GB, free: 10.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.5052, allocations: 0.8421 MB / 0.639 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5054, allocations: 0.7287 MB / 0.6397 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/0.5058, allocations: 91.34 kB / 0.6398 GB, free: 8.32 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5058, allocations: 4 kB / 0.6398 GB, free: 8.316 MB / 478.1 MB Notification: Performance of Templates: time 0.008511/0.5143, allocations: 5.309 MB / 0.6449 GB, free: 3.016 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches