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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 113.2 kB / 17.08 MB, free: 5.918 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.00107/0.00107, allocations: 194.9 kB / 18.01 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2037/0.2037, allocations: 43.53 MB / 314.8 MB, free: 432 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 73.61 kB / 442.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1156, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4092/0.5249, allocations: 151.4 MB / 0.6364 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008576/0.5335, allocations: 6.984 MB / 0.6432 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.5338, allocations: 4 kB / 0.6432 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.5342, allocations: 59.59 kB / 0.6433 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.5382, allocations: 1.435 MB / 0.6447 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.5386, allocations: 142.9 kB / 0.6448 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.5393, allocations: 394.1 kB / 0.6452 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.5394, allocations: 17.67 kB / 0.6452 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.5397, allocations: 167.3 kB / 0.6453 GB, free: 9.961 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.5401, allocations: 167.5 kB / 0.6455 GB, free: 9.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.5401, allocations: 12 kB / 0.6455 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.5427, allocations: 1.233 MB / 0.6467 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.5428, allocations: 51.75 kB / 0.6468 GB, free: 8.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.543, allocations: 103.5 kB / 0.6469 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.5452, allocations: 0.9589 MB / 0.6478 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.5452, allocations: 0 / 0.6478 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5453, allocations: 0 / 0.6478 GB, free: 7.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.5453, allocations: 0 / 0.6478 GB, free: 7.438 MB / 494.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.00165/0.5469, allocations: 0.7179 MB / 0.6485 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.547, allocations: 19.88 kB / 0.6485 GB, free: 6.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008136/0.5551, allocations: 0.5862 MB / 0.6491 GB, free: 6.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.5559, allocations: 272.2 kB / 0.6494 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.556, allocations: 123.3 kB / 0.6495 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.5562, allocations: 20 kB / 0.6495 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5575, allocations: 0.5634 MB / 0.65 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.5575, allocations: 3.938 kB / 0.6501 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.5577, allocations: 12 kB / 0.6501 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.5577, allocations: 8 kB / 0.6501 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.5591, allocations: 0.6299 MB / 0.6507 GB, free: 4.344 MB / 494.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.002223/0.5614, allocations: 1.645 MB / 0.6523 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.5617, allocations: 154.5 kB / 0.6524 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.5619, allocations: 80.88 kB / 0.6525 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.5632, allocations: 1.307 MB / 0.6538 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5632, allocations: 30.56 kB / 0.6538 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 5.28e-06/0.5633, allocations: 3.984 kB / 0.6538 GB, free: 0.7773 MB / 494.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=18): time 0.001057/0.5643, allocations: 331.8 kB / 0.6541 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.5644, allocations: 59.34 kB / 0.6542 GB, free: 388 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.5646, allocations: 187.3 kB / 0.6544 GB, free: 188 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.5646, allocations: 29.7 kB / 0.6544 GB, free: 152 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5647, allocations: 191.5 kB / 0.6546 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.5648, allocations: 71.09 kB / 0.6547 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.5649, allocations: 89.88 kB / 0.6547 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5651, allocations: 334.8 kB / 0.6551 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.5652, allocations: 56.72 kB / 0.6551 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.5655, allocations: 272.3 kB / 0.6554 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.5659, allocations: 371.6 kB / 0.6557 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5659, allocations: 4 kB / 0.6557 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006186/0.5666, allocations: 361.7 kB / 0.6561 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.5666, allocations: 8 kB / 0.6561 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5666, allocations: 8 kB / 0.6561 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.5666, allocations: 11.62 kB / 0.6561 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.5671, allocations: 131.7 kB / 0.6562 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003991/0.5675, allocations: 0.6061 MB / 0.6568 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.5677, allocations: 39.53 kB / 0.6569 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.5678, allocations: 43.98 kB / 0.6569 GB, free: 13.36 MB / 0.4981 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 (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.0001566/0.568, allocations: 149.5 kB / 0.657 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.5681, allocations: 23.75 kB / 0.6571 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.5687, allocations: 301 kB / 0.6574 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5687, allocations: 0 / 0.6574 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5687, allocations: 0 / 0.6574 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5688, allocations: 4 kB / 0.6574 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.5695, allocations: 0.5215 MB / 0.6579 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5695, allocations: 0 / 0.6579 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.5697, allocations: 52.72 kB / 0.6579 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5697, allocations: 0 / 0.6579 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5698, allocations: 11.98 kB / 0.6579 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003543/0.5701, allocations: 0.5977 MB / 0.6585 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5701, allocations: 0 / 0.6585 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.5705, allocations: 275.6 kB / 0.6588 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.5707, allocations: 112.8 kB / 0.6589 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.5707, allocations: 15.92 kB / 0.6589 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.571, allocations: 4 kB / 0.6589 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.571, allocations: 15.98 kB / 0.6589 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.571, allocations: 17.05 kB / 0.6589 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001249/0.5712, allocations: 144.2 kB / 0.6591 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5712, allocations: 0 / 0.6591 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007468/0.5719, allocations: 192 kB / 0.6593 GB, free: 10.79 MB / 0.4981 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 (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.0008366/0.5728, allocations: 319.7 kB / 0.6596 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.5733, allocations: 223.8 kB / 0.6598 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5734, allocations: 0 / 0.6598 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.5736, allocations: 81.52 kB / 0.6598 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.5741, allocations: 74.48 kB / 0.6599 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.5774, allocations: 1.963 MB / 0.6618 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5777, allocations: 0.7245 MB / 0.6625 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.5779, allocations: 63.41 kB / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5779, allocations: 0 / 0.6626 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of Templates: time 0.009788/0.5877, allocations: 5.781 MB / 0.6683 GB, free: 1.5 MB / 0.4981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches