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.001104/0.001104, allocations: 107 kB / 17.03 MB, free: 5.703 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.001236/0.001236, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.569/1.569, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2362/0.2362, allocations: 43.52 MB / 314.7 MB, free: 476 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.001984/0.001984, allocations: 64.14 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1423, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5378/0.6801, allocations: 151.3 MB / 0.5794 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008123/0.6883, allocations: 6.974 MB / 0.5862 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.6885, allocations: 0 / 0.5862 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.6889, allocations: 55.53 kB / 0.5863 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.6932, allocations: 1.435 MB / 0.5877 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.6936, allocations: 148.3 kB / 0.5878 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.6943, allocations: 396 kB / 0.5882 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.6943, allocations: 15.81 kB / 0.5882 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.6946, allocations: 174.9 kB / 0.5884 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.6949, allocations: 164 kB / 0.5885 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.695, allocations: 9.875 kB / 0.5885 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.6975, allocations: 1.239 MB / 0.5897 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.643e-05/0.6976, allocations: 37.42 kB / 0.5898 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.6977, allocations: 110.4 kB / 0.5899 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.6993, allocations: 0.9603 MB / 0.5908 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.6993, allocations: 2.719 kB / 0.5908 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6993, allocations: 0 / 0.5908 GB, free: 10.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.6993, allocations: 0 / 0.5908 GB, free: 10.98 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.001311/0.7007, allocations: 0.7119 MB / 0.5915 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7007, allocations: 14.48 kB / 0.5915 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007094/0.7078, allocations: 0.5989 MB / 0.5921 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007993/0.7087, allocations: 262.2 kB / 0.5924 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.7088, allocations: 130.1 kB / 0.5925 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.817e-05/0.7089, allocations: 22.12 kB / 0.5925 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.7102, allocations: 0.5602 MB / 0.5931 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.7102, allocations: 0 / 0.5931 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.7103, allocations: 9.812 kB / 0.5931 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.7104, allocations: 11.41 kB / 0.5931 GB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.7117, allocations: 0.6331 MB / 0.5937 GB, free: 9.352 MB / 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.002286/0.714, allocations: 1.641 MB / 0.5953 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.7144, allocations: 170.5 kB / 0.5955 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.7146, allocations: 77.58 kB / 0.5955 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.716, allocations: 1.302 MB / 0.5968 GB, free: 6.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.716, allocations: 35.78 kB / 0.5968 GB, free: 6.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.716, allocations: 0 / 0.5968 GB, free: 6.617 MB / 430.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.001117/0.7172, allocations: 328.2 kB / 0.5972 GB, free: 6.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.7172, allocations: 61.12 kB / 0.5972 GB, free: 6.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.7175, allocations: 189.5 kB / 0.5974 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.7175, allocations: 33.08 kB / 0.5974 GB, free: 6.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.7177, allocations: 192.7 kB / 0.5976 GB, free: 6.121 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/0.7177, allocations: 60.14 kB / 0.5977 GB, free: 6.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.7179, allocations: 93.36 kB / 0.5978 GB, free: 6.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.7181, allocations: 324.7 kB / 0.5981 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7182, allocations: 66.3 kB / 0.5981 GB, free: 5.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/0.7186, allocations: 270.7 kB / 0.5984 GB, free: 5.441 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.7191, allocations: 372.5 kB / 0.5987 GB, free: 5.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.7191, allocations: 3 kB / 0.5987 GB, free: 5.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006517/0.7198, allocations: 369.9 kB / 0.5991 GB, free: 5.012 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.7198, allocations: 9.562 kB / 0.5991 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.7198, allocations: 5.688 kB / 0.5991 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.7199, allocations: 10.72 kB / 0.5991 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.7203, allocations: 130.2 kB / 0.5992 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004472/0.7208, allocations: 0.6024 MB / 0.5998 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.721, allocations: 40.94 kB / 0.5999 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.7211, allocations: 45.33 kB / 0.5999 GB, free: 4.363 MB / 430.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.0001617/0.7213, allocations: 145.6 kB / 0.6001 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.7214, allocations: 25.53 kB / 0.6001 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000686/0.722, allocations: 295.1 kB / 0.6004 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7221, allocations: 7.984 kB / 0.6004 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.7221, allocations: 0 / 0.6004 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.7221, allocations: 2.594 kB / 0.6004 GB, free: 4.074 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007607/0.7229, allocations: 0.5159 MB / 0.6009 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7229, allocations: 0 / 0.6009 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.7231, allocations: 62.61 kB / 0.6009 GB, free: 3.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7231, allocations: 6.312 kB / 0.6009 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.7231, allocations: 7.812 kB / 0.6009 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003339/0.7235, allocations: 0.594 MB / 0.6015 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7235, allocations: 1.562 kB / 0.6015 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.7238, allocations: 267.9 kB / 0.6018 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.724, allocations: 108.8 kB / 0.6019 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.724, allocations: 13.22 kB / 0.6019 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.7243, allocations: 12.67 kB / 0.6019 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.7243, allocations: 11.7 kB / 0.6019 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.453e-05/0.7244, allocations: 32.77 kB / 0.602 GB, free: 2.738 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.7245, allocations: 135.1 kB / 0.6021 GB, free: 2.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7245, allocations: 0 / 0.6021 GB, free: 2.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007302/0.7252, allocations: 190 kB / 0.6023 GB, free: 2.625 MB / 430.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 (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.0007662/0.726, allocations: 317 kB / 0.6026 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.7265, allocations: 226.4 kB / 0.6028 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7266, allocations: 0 / 0.6028 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.7268, allocations: 85.55 kB / 0.6029 GB, free: 2.402 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.7273, allocations: 69.28 kB / 0.6029 GB, free: 2.375 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.7304, allocations: 1.935 MB / 0.6048 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.7308, allocations: 0.7315 MB / 0.6055 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004013/0.7312, allocations: 101.2 kB / 0.6056 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.7314, allocations: 46.72 kB / 0.6057 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of SimCode: time 1.031e-06/0.7314, allocations: 0 / 0.6057 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of Templates: time 0.01181/0.7432, allocations: 6.149 MB / 0.6117 GB, free: 13.77 MB / 446.1 MB 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 -s cvode -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