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.001197/0.001197, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 176.5 kB / 16.57 MB, free: 6.852 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.552/1.552, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3911/0.3911, allocations: 43.54 MB / 314.5 MB, free: 9.02 MB / 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.0005377/0.0005376, allocations: 12 kB / 383.9 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.142, allocations: 58.87 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.419/0.5611, allocations: 126.2 MB / 0.5556 GB, free: 13.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009403/0.5706, allocations: 6.922 MB / 0.5623 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002844/0.5709, allocations: 4 kB / 0.5623 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.5712, allocations: 41.47 kB / 0.5624 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.5754, allocations: 1.168 MB / 0.5635 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.5757, allocations: 131.9 kB / 0.5636 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.5763, allocations: 265 kB / 0.5639 GB, free: 5.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.5764, allocations: 16.34 kB / 0.5639 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.5767, allocations: 167.5 kB / 0.5641 GB, free: 5.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.577, allocations: 155.5 kB / 0.5642 GB, free: 5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.5771, allocations: 8 kB / 0.5642 GB, free: 4.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.5796, allocations: 1.092 MB / 0.5653 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.827e-05/0.5797, allocations: 51.8 kB / 0.5653 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.234e-05/0.5798, allocations: 61.64 kB / 0.5654 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.5811, allocations: 0.6443 MB / 0.566 GB, free: 3.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.5811, allocations: 0 / 0.566 GB, free: 3.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5812, allocations: 0 / 0.566 GB, free: 3.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.5812, allocations: 0 / 0.566 GB, free: 3.148 MB / 430.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.001293/0.5825, allocations: 0.6511 MB / 0.5667 GB, free: 2.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.5825, allocations: 12.03 kB / 0.5667 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007167/0.5897, allocations: 0.5865 MB / 0.5672 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.5902, allocations: 258.7 kB / 0.5675 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.5904, allocations: 127.4 kB / 0.5676 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.5905, allocations: 18.75 kB / 0.5676 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.5918, allocations: 0.5556 MB / 0.5682 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5918, allocations: 0 / 0.5682 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.5919, allocations: 12 kB / 0.5682 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.5919, allocations: 8 kB / 0.5682 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.5934, allocations: 0.6337 MB / 0.5688 GB, free: 164 kB / 430.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.002247/0.5957, allocations: 1.627 MB / 0.5704 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.596, allocations: 154.5 kB / 0.5705 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008855/0.5969, allocations: 0.6658 MB / 0.5712 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.597, allocations: 35.23 kB / 0.5712 GB, free: 13.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.154e-06/0.597, allocations: 0 / 0.5712 GB, free: 13.46 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=18): time 0.001167/0.5982, allocations: 325.8 kB / 0.5715 GB, free: 13.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.5982, allocations: 55.31 kB / 0.5716 GB, free: 13.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5984, allocations: 191.4 kB / 0.5718 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.5985, allocations: 29.7 kB / 0.5718 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5986, allocations: 183.3 kB / 0.572 GB, free: 12.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.5986, allocations: 75.09 kB / 0.572 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.5987, allocations: 7.938 kB / 0.5721 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5988, allocations: 326.8 kB / 0.5724 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.5989, allocations: 64.7 kB / 0.5724 GB, free: 12.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.5992, allocations: 263.8 kB / 0.5727 GB, free: 11.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.5994, allocations: 107.8 kB / 0.5728 GB, free: 11.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5994, allocations: 7.938 kB / 0.5728 GB, free: 11.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005765/0.6, allocations: 360.8 kB / 0.5731 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6, allocations: 10.66 kB / 0.5731 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6, allocations: 8.875 kB / 0.5732 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6, allocations: 15.98 kB / 0.5732 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.6004, allocations: 123.8 kB / 0.5733 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006094/0.6011, allocations: 0.6055 MB / 0.5739 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.6013, allocations: 48.47 kB / 0.5739 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.6014, allocations: 39.98 kB / 0.574 GB, free: 10.49 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.6016, allocations: 149.7 kB / 0.5741 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.6016, allocations: 19.81 kB / 0.5741 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008615/0.6025, allocations: 296.8 kB / 0.5744 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6025, allocations: 7.953 kB / 0.5744 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6025, allocations: 0 / 0.5744 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6025, allocations: 0 / 0.5744 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.6032, allocations: 0.5198 MB / 0.5749 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6032, allocations: 7.875 kB / 0.5749 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.6034, allocations: 55.97 kB / 0.575 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6035, allocations: 0 / 0.575 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.6035, allocations: 10.19 kB / 0.575 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003062/0.6038, allocations: 0.5938 MB / 0.5756 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6038, allocations: 4.031 kB / 0.5756 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.6042, allocations: 327.8 kB / 0.5759 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.6043, allocations: 112.9 kB / 0.576 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.6043, allocations: 4 kB / 0.576 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.6046, allocations: 11.98 kB / 0.576 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.6046, allocations: 15.98 kB / 0.576 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.6047, allocations: 15.98 kB / 0.576 GB, free: 8.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.6049, allocations: 135 kB / 0.5762 GB, free: 8.051 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6049, allocations: 0 / 0.5762 GB, free: 8.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.6057, allocations: 196 kB / 0.5764 GB, free: 7.859 MB / 446.1 MB 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007498/0.6065, allocations: 313.1 kB / 0.5767 GB, free: 7.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004941/0.607, allocations: 232.4 kB / 0.5769 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.607, allocations: 0 / 0.5769 GB, free: 7.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.6072, allocations: 79.89 kB / 0.577 GB, free: 7.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.6075, allocations: 53.09 kB / 0.577 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.6085, allocations: 0.5474 MB / 0.5775 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.6091, allocations: 0.7325 MB / 0.5783 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000532/0.6096, allocations: 106.1 kB / 0.5784 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6097, allocations: 51.36 kB / 0.5784 GB, free: 5.715 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6098, allocations: 0 / 0.5784 GB, free: 5.715 MB / 446.1 MB Notification: Performance of Templates: time 0.01005/0.6198, allocations: 5.684 MB / 0.584 GB, free: 64 kB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches