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.001095/0.001096, allocations: 94.7 kB / 16.98 MB, free: 5.938 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.0009581/0.0009582, allocations: 186.4 kB / 17.88 MB, free: 5.594 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.395/1.395, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2292/0.2292, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004934, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.172, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4806/0.6526, allocations: 126.1 MB / 0.5836 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006163/0.6588, allocations: 4.85 MB / 0.5883 GB, free: 14.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.6591, allocations: 4 kB / 0.5883 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.6594, allocations: 35.8 kB / 0.5883 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.663, allocations: 0.9697 MB / 0.5893 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.6634, allocations: 133.6 kB / 0.5894 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.664, allocations: 267.4 kB / 0.5897 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.6641, allocations: 9.688 kB / 0.5897 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003506/0.6644, allocations: 171.4 kB / 0.5898 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.6647, allocations: 151.6 kB / 0.59 GB, free: 13.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.6648, allocations: 12 kB / 0.59 GB, free: 13.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.6672, allocations: 0.952 MB / 0.5909 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.6673, allocations: 47.8 kB / 0.591 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.6674, allocations: 61.64 kB / 0.591 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.6684, allocations: 0.5593 MB / 0.5916 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6684, allocations: 4 kB / 0.5916 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6684, allocations: 0 / 0.5916 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.6684, allocations: 4 kB / 0.5916 GB, free: 11.63 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.001279/0.6697, allocations: 0.6169 MB / 0.5922 GB, free: 10.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.6698, allocations: 8.031 kB / 0.5922 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007234/0.677, allocations: 0.5927 MB / 0.5928 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.6776, allocations: 254.7 kB / 0.593 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.6777, allocations: 115.4 kB / 0.5931 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.6778, allocations: 24 kB / 0.5932 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.6791, allocations: 0.5633 MB / 0.5937 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6791, allocations: 3.984 kB / 0.5937 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/0.6792, allocations: 16.56 kB / 0.5937 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.6793, allocations: 15.92 kB / 0.5937 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.6806, allocations: 0.6221 MB / 0.5943 GB, free: 8.66 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.002135/0.6828, allocations: 1.707 MB / 0.596 GB, free: 6.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.6831, allocations: 166.4 kB / 0.5962 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.6839, allocations: 0.697 MB / 0.5969 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.684, allocations: 46.45 kB / 0.5969 GB, free: 5.785 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.684, allocations: 0 / 0.5969 GB, free: 5.785 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=17): time 0.001041/0.685, allocations: 312.1 kB / 0.5972 GB, free: 5.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6851, allocations: 63.34 kB / 0.5973 GB, free: 5.406 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.6853, allocations: 195 kB / 0.5974 GB, free: 5.207 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.6853, allocations: 29.7 kB / 0.5975 GB, free: 5.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.6855, allocations: 187.1 kB / 0.5976 GB, free: 4.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.6855, allocations: 67.08 kB / 0.5977 GB, free: 4.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.6856, allocations: 8 kB / 0.5977 GB, free: 4.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6857, allocations: 326.8 kB / 0.598 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.6859, allocations: 68.7 kB / 0.5981 GB, free: 4.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.6861, allocations: 260.5 kB / 0.5983 GB, free: 4.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.6863, allocations: 99.92 kB / 0.5984 GB, free: 4.066 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.6863, allocations: 0 / 0.5984 GB, free: 4.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006368/0.687, allocations: 374.3 kB / 0.5988 GB, free: 3.695 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.687, allocations: 8 kB / 0.5988 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.687, allocations: 11.95 kB / 0.5988 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.6871, allocations: 8 kB / 0.5988 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.6875, allocations: 119.9 kB / 0.5989 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003766/0.6879, allocations: 0.6134 MB / 0.5995 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.6882, allocations: 51.59 kB / 0.5996 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.6882, allocations: 39.98 kB / 0.5996 GB, free: 2.824 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 (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.0001556/0.6884, allocations: 149.6 kB / 0.5998 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.6885, allocations: 19.81 kB / 0.5998 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.6894, allocations: 432 kB / 0.6002 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6894, allocations: 0 / 0.6002 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6894, allocations: 4 kB / 0.6002 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6894, allocations: 0 / 0.6002 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.6903, allocations: 0.6266 MB / 0.6008 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6903, allocations: 4 kB / 0.6008 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.6905, allocations: 63.89 kB / 0.6009 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6906, allocations: 3.938 kB / 0.6009 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.6906, allocations: 8 kB / 0.6009 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002996/0.6909, allocations: 0.598 MB / 0.6015 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6909, allocations: 3.938 kB / 0.6015 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.6913, allocations: 369.3 kB / 0.6018 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6914, allocations: 120.7 kB / 0.6019 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.6915, allocations: 10.25 kB / 0.602 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.6918, allocations: 15.98 kB / 0.602 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.6918, allocations: 11.98 kB / 0.602 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.6918, allocations: 23.98 kB / 0.602 GB, free: 156 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.692, allocations: 135 kB / 0.6021 GB, free: 20 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.694e-06/0.692, allocations: 0 / 0.6021 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.6927, allocations: 147.9 kB / 0.6023 GB, free: 15.88 MB / 446.1 MB 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 (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.0005715/0.6933, allocations: 260.1 kB / 0.6025 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.6938, allocations: 216.4 kB / 0.6027 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6938, allocations: 4 kB / 0.6027 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.694, allocations: 79.91 kB / 0.6028 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.6944, allocations: 58.59 kB / 0.6029 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009571/0.6954, allocations: 0.5516 MB / 0.6034 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.6957, allocations: 0.7366 MB / 0.6041 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008657/0.6966, allocations: 381.9 kB / 0.6045 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6968, allocations: 67.38 kB / 0.6046 GB, free: 13.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6968, allocations: 0 / 0.6046 GB, free: 13.48 MB / 446.1 MB Notification: Performance of Templates: time 0.00938/0.7062, allocations: 4.816 MB / 0.6093 GB, free: 8.688 MB / 446.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches