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.001301/0.001301, allocations: 108.1 kB / 18.45 MB, free: 4.602 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.001421/0.001421, allocations: 180.2 kB / 19.38 MB, free: 3.684 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.31/1.31, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2023/0.2023, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1613/0.4893, allocations: 150.1 MB / 0.6662 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005541/0.4949, allocations: 5.151 MB / 0.6712 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.4951, allocations: 4 kB / 0.6712 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.4954, allocations: 55.61 kB / 0.6713 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003314/0.4988, allocations: 1.205 MB / 0.6725 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.4991, allocations: 135.4 kB / 0.6726 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.4997, allocations: 398 kB / 0.673 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.638e-05/0.4998, allocations: 13.48 kB / 0.673 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.5001, allocations: 171.3 kB / 0.6732 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.5005, allocations: 171.5 kB / 0.6733 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.5005, allocations: 8 kB / 0.6733 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.5024, allocations: 1.014 MB / 0.6743 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.5025, allocations: 47.75 kB / 0.6744 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5026, allocations: 115.4 kB / 0.6745 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001576/0.5042, allocations: 0.8361 MB / 0.6753 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5042, allocations: 0 / 0.6753 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5042, allocations: 0 / 0.6753 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5042, allocations: 0 / 0.6753 GB, free: 12.02 MB / 0.5294 GB 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.001359/0.5056, allocations: 0.6827 MB / 0.676 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.5056, allocations: 8.031 kB / 0.676 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0077/0.5133, allocations: 0.5936 MB / 0.6765 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.5138, allocations: 259.4 kB / 0.6768 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.514, allocations: 127.3 kB / 0.6769 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5141, allocations: 28 kB / 0.6769 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5153, allocations: 0.5634 MB / 0.6775 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5153, allocations: 0 / 0.6775 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.5154, allocations: 8 kB / 0.6775 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.5154, allocations: 8 kB / 0.6775 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5168, allocations: 0.6299 MB / 0.6781 GB, free: 8.973 MB / 0.5294 GB 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.002049/0.5188, allocations: 1.713 MB / 0.6798 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.5192, allocations: 156.9 kB / 0.6799 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.5194, allocations: 80.86 kB / 0.68 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006595/0.52, allocations: 0.7045 MB / 0.6807 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5201, allocations: 34.5 kB / 0.6807 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.5201, allocations: 0 / 0.6807 GB, free: 6.02 MB / 0.5294 GB 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.000986/0.5211, allocations: 325.1 kB / 0.681 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5211, allocations: 55.41 kB / 0.6811 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.5213, allocations: 198.9 kB / 0.6813 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.5213, allocations: 29.7 kB / 0.6813 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.5214, allocations: 179.3 kB / 0.6815 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.5215, allocations: 67.09 kB / 0.6816 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.5216, allocations: 93.97 kB / 0.6816 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5217, allocations: 330.8 kB / 0.682 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5219, allocations: 68.7 kB / 0.682 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.5221, allocations: 260 kB / 0.6823 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.5226, allocations: 373.5 kB / 0.6826 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5226, allocations: 4 kB / 0.6826 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006153/0.5232, allocations: 365.5 kB / 0.683 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5233, allocations: 8 kB / 0.683 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.5233, allocations: 11.94 kB / 0.683 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5233, allocations: 8 kB / 0.683 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.5237, allocations: 127.8 kB / 0.6831 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003271/0.524, allocations: 0.6016 MB / 0.6837 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5243, allocations: 47.78 kB / 0.6838 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.5244, allocations: 43.98 kB / 0.6838 GB, free: 2.609 MB / 0.5294 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.000136/0.5245, allocations: 145.6 kB / 0.6839 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.5246, allocations: 15.81 kB / 0.684 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/0.5253, allocations: 436.9 kB / 0.6844 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5253, allocations: 0 / 0.6844 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5253, allocations: 4 kB / 0.6844 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5254, allocations: 0 / 0.6844 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.5262, allocations: 0.6342 MB / 0.685 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5262, allocations: 8.219 kB / 0.685 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5264, allocations: 59.89 kB / 0.6851 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.5264, allocations: 11.94 kB / 0.6851 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.5264, allocations: 11.94 kB / 0.6851 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002718/0.5267, allocations: 0.59 MB / 0.6857 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5267, allocations: 4 kB / 0.6857 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.5271, allocations: 289.3 kB / 0.6859 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.5272, allocations: 116.8 kB / 0.6861 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.5272, allocations: 4 kB / 0.6861 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.5275, allocations: 15.97 kB / 0.6861 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.5275, allocations: 15.92 kB / 0.6861 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5275, allocations: 27.92 kB / 0.6861 GB, free: 44 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001214/0.5277, allocations: 136.2 kB / 0.6862 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5277, allocations: 0 / 0.6862 GB, free: 15.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005991/0.5283, allocations: 155.8 kB / 0.6864 GB, free: 15.76 MB / 0.545 GB 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.0005571/0.5288, allocations: 240.2 kB / 0.6866 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.5294, allocations: 233 kB / 0.6868 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5294, allocations: 0 / 0.6868 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.5296, allocations: 83.83 kB / 0.6869 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005682/0.5302, allocations: 64.86 kB / 0.687 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.5315, allocations: 0.7106 MB / 0.6877 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.5318, allocations: 0.7285 MB / 0.6884 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.5321, allocations: 91.34 kB / 0.6885 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5321, allocations: 0 / 0.6885 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Templates: time 0.008141/0.5402, allocations: 5.299 MB / 0.6937 GB, free: 8.25 MB / 0.545 GB 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