Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=500,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001718/0.001718, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2435/0.2435, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 79.88 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3544, allocations: 62.45 MB / 0.5311 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1977/0.5521, allocations: 153 MB / 0.6805 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008068/0.5602, allocations: 5.159 MB / 0.6856 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.5606, allocations: 0 / 0.6856 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.561, allocations: 55.59 kB / 0.6856 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.566, allocations: 1.186 MB / 0.6868 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.5665, allocations: 154.2 kB / 0.6869 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009158/0.5674, allocations: 394.1 kB / 0.6873 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.5675, allocations: 13.67 kB / 0.6873 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004526/0.568, allocations: 163.4 kB / 0.6875 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005112/0.5685, allocations: 187.3 kB / 0.6877 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.5686, allocations: 8 kB / 0.6877 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.5717, allocations: 1.019 MB / 0.6887 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5718, allocations: 47.88 kB / 0.6887 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.572, allocations: 99.47 kB / 0.6888 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.5747, allocations: 0.8616 MB / 0.6896 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5747, allocations: 0 / 0.6896 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.957e-06/0.5747, allocations: 0 / 0.6896 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5747, allocations: 3.938 kB / 0.6896 GB, free: 14.71 MB / 0.545 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.001985/0.5767, allocations: 0.6931 MB / 0.6903 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5768, allocations: 12.03 kB / 0.6903 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008035/0.5848, allocations: 0.6132 MB / 0.6909 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006612/0.5855, allocations: 267.3 kB / 0.6912 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.5857, allocations: 123.4 kB / 0.6913 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5859, allocations: 24 kB / 0.6913 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5873, allocations: 0.5595 MB / 0.6919 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.5874, allocations: 3.938 kB / 0.6919 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.5875, allocations: 11.98 kB / 0.6919 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.5875, allocations: 12 kB / 0.6919 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.5892, allocations: 0.626 MB / 0.6925 GB, free: 11.62 MB / 0.545 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.002673/0.5918, allocations: 1.71 MB / 0.6942 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.5923, allocations: 162.5 kB / 0.6943 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5924, allocations: 72.88 kB / 0.6944 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008547/0.5933, allocations: 0.7043 MB / 0.6951 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5934, allocations: 30.56 kB / 0.6951 GB, free: 8.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/0.5934, allocations: 4 kB / 0.6951 GB, free: 8.672 MB / 0.545 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.001229/0.5946, allocations: 331.8 kB / 0.6954 GB, free: 8.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.5947, allocations: 55.41 kB / 0.6955 GB, free: 8.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.5949, allocations: 191.9 kB / 0.6957 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.5949, allocations: 33.7 kB / 0.6957 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.5951, allocations: 195.7 kB / 0.6959 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.5952, allocations: 67.47 kB / 0.696 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.5953, allocations: 90.02 kB / 0.6961 GB, free: 7.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5955, allocations: 330.8 kB / 0.6964 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.5957, allocations: 64.7 kB / 0.6964 GB, free: 7.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.596, allocations: 264 kB / 0.6967 GB, free: 6.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.5966, allocations: 362.2 kB / 0.697 GB, free: 6.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5966, allocations: 4 kB / 0.697 GB, free: 6.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007328/0.5974, allocations: 372.7 kB / 0.6974 GB, free: 6.117 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.5974, allocations: 8.938 kB / 0.6974 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.5974, allocations: 15.88 kB / 0.6974 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.5975, allocations: 15.94 kB / 0.6974 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.5979, allocations: 127.8 kB / 0.6975 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000454/0.5984, allocations: 0.6016 MB / 0.6981 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.5987, allocations: 35.73 kB / 0.6982 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.5988, allocations: 47.98 kB / 0.6982 GB, free: 5.246 MB / 0.545 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.0001945/0.599, allocations: 153.6 kB / 0.6984 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.599, allocations: 15.91 kB / 0.6984 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.6, allocations: 439.9 kB / 0.6988 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6, allocations: 0 / 0.6988 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6, allocations: 0 / 0.6988 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6, allocations: 3.938 kB / 0.6988 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.6011, allocations: 0.6266 MB / 0.6994 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6011, allocations: 4 kB / 0.6994 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6013, allocations: 59.89 kB / 0.6995 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.6013, allocations: 4 kB / 0.6995 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.6014, allocations: 15.88 kB / 0.6995 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004099/0.6018, allocations: 0.6018 MB / 0.7001 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6018, allocations: 0 / 0.7001 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.6022, allocations: 297.3 kB / 0.7004 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6024, allocations: 105 kB / 0.7005 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.6024, allocations: 7.953 kB / 0.7005 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.6027, allocations: 15.98 kB / 0.7005 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.6028, allocations: 15.98 kB / 0.7005 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.6028, allocations: 27.92 kB / 0.7005 GB, free: 2.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001783/0.603, allocations: 136.2 kB / 0.7007 GB, free: 2.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.603, allocations: 0 / 0.7007 GB, free: 2.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006968/0.6037, allocations: 151.7 kB / 0.7008 GB, free: 2.395 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.0007039/0.6044, allocations: 253.5 kB / 0.701 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005995/0.605, allocations: 233.3 kB / 0.7013 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.605, allocations: 0 / 0.7013 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.6053, allocations: 84.45 kB / 0.7013 GB, free: 1.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005423/0.6058, allocations: 60.11 kB / 0.7014 GB, free: 1.777 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.6073, allocations: 0.6967 MB / 0.7021 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.6077, allocations: 0.7246 MB / 0.7028 GB, free: 288 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007415/0.6084, allocations: 385 kB / 0.7032 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.6086, allocations: 67.38 kB / 0.7032 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.6086, allocations: 0 / 0.7032 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.01191/0.6206, allocations: 5.229 MB / 0.7083 GB, free: 10.65 MB / 0.5606 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches