Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.88 kB / 482 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4219, allocations: 62.43 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1941/0.6161, allocations: 153 MB / 0.6811 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005988/0.6221, allocations: 5.147 MB / 0.6861 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.6223, allocations: 0 / 0.6861 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.6227, allocations: 63.53 kB / 0.6862 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.6263, allocations: 1.212 MB / 0.6874 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.6267, allocations: 137.5 kB / 0.6875 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.6273, allocations: 394.1 kB / 0.6879 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.037e-05/0.6274, allocations: 15.5 kB / 0.6879 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.6278, allocations: 167.4 kB / 0.6881 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.6281, allocations: 183.4 kB / 0.6882 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.6282, allocations: 8 kB / 0.6882 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.6301, allocations: 1.022 MB / 0.6892 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.6302, allocations: 43.81 kB / 0.6893 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.6304, allocations: 107.5 kB / 0.6894 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.6322, allocations: 0.8536 MB / 0.6902 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6322, allocations: 0 / 0.6902 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6322, allocations: 4 kB / 0.6902 GB, free: 14.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.6322, allocations: 0 / 0.6902 GB, free: 14.9 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.001397/0.6336, allocations: 0.6827 MB / 0.6909 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.6337, allocations: 8.031 kB / 0.6909 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007607/0.6413, allocations: 0.6092 MB / 0.6915 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.6419, allocations: 263.4 kB / 0.6917 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.642, allocations: 119.4 kB / 0.6919 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.6421, allocations: 24 kB / 0.6919 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.6434, allocations: 0.5673 MB / 0.6924 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6434, allocations: 3.938 kB / 0.6924 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.163e-05/0.6435, allocations: 12 kB / 0.6925 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.306e-05/0.6435, allocations: 8 kB / 0.6925 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.645, allocations: 0.6221 MB / 0.6931 GB, free: 11.84 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.002376/0.6474, allocations: 1.721 MB / 0.6948 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000379/0.6478, allocations: 154.5 kB / 0.6949 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.6479, allocations: 76.86 kB / 0.695 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/0.6487, allocations: 0.7081 MB / 0.6957 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6487, allocations: 38.55 kB / 0.6957 GB, free: 8.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/0.6487, allocations: 0 / 0.6957 GB, free: 8.879 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.001072/0.6498, allocations: 317.1 kB / 0.696 GB, free: 8.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.6499, allocations: 59.31 kB / 0.6961 GB, free: 8.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.6501, allocations: 191.8 kB / 0.6962 GB, free: 8.297 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.6501, allocations: 33.7 kB / 0.6963 GB, free: 8.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6502, allocations: 187.2 kB / 0.6965 GB, free: 8.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.936e-05/0.6503, allocations: 59.19 kB / 0.6965 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.6504, allocations: 93.95 kB / 0.6966 GB, free: 7.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6505, allocations: 330.8 kB / 0.6969 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6507, allocations: 72.64 kB / 0.697 GB, free: 7.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.651, allocations: 260 kB / 0.6972 GB, free: 7.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.6515, allocations: 367.2 kB / 0.6976 GB, free: 6.711 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.6515, allocations: 4 kB / 0.6976 GB, free: 6.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006654/0.6522, allocations: 373 kB / 0.6979 GB, free: 6.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6522, allocations: 10.03 kB / 0.698 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.6522, allocations: 11.94 kB / 0.698 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.6523, allocations: 8 kB / 0.698 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.6527, allocations: 127.8 kB / 0.6981 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003954/0.6531, allocations: 0.6054 MB / 0.6987 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.6534, allocations: 47.53 kB / 0.6987 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.6535, allocations: 52.14 kB / 0.6988 GB, free: 5.461 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.0001568/0.6536, allocations: 145.6 kB / 0.6989 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.6537, allocations: 15.81 kB / 0.6989 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.6545, allocations: 425.1 kB / 0.6993 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.6545, allocations: 0 / 0.6993 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6545, allocations: 3.938 kB / 0.6993 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.6545, allocations: 0 / 0.6993 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009237/0.6555, allocations: 0.6343 MB / 0.7 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6555, allocations: 4 kB / 0.7 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6557, allocations: 60.17 kB / 0.7 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6557, allocations: 4 kB / 0.7 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.6558, allocations: 11.94 kB / 0.7 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003359/0.6561, allocations: 0.5977 MB / 0.7006 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6561, allocations: 0 / 0.7006 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.6566, allocations: 293.3 kB / 0.7009 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6567, allocations: 108.8 kB / 0.701 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.6567, allocations: 4 kB / 0.701 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.657, allocations: 19.98 kB / 0.701 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.657, allocations: 15.98 kB / 0.701 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.6571, allocations: 23.92 kB / 0.7011 GB, free: 2.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001334/0.6572, allocations: 140.2 kB / 0.7012 GB, free: 2.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6572, allocations: 0 / 0.7012 GB, free: 2.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006655/0.6579, allocations: 156 kB / 0.7013 GB, free: 2.625 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.0007087/0.6586, allocations: 254.2 kB / 0.7016 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.6592, allocations: 229.2 kB / 0.7018 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6592, allocations: 4.188 kB / 0.7018 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.6594, allocations: 75.89 kB / 0.7019 GB, free: 2.074 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.6599, allocations: 64.55 kB / 0.7019 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.6614, allocations: 0.726 MB / 0.7027 GB, free: 1.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.6618, allocations: 0.7245 MB / 0.7034 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.6621, allocations: 95.34 kB / 0.7035 GB, free: 400 kB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6621, allocations: 0 / 0.7035 GB, free: 400 kB / 0.545 GB Notification: Performance of Templates: time 0.008992/0.6711, allocations: 5.345 MB / 0.7087 GB, free: 11.05 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches