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.001503/0.001503, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002237/0.002237, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.1 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 80.2 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3528, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.172/0.5249, allocations: 153 MB / 0.6811 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006126/0.531, allocations: 5.151 MB / 0.6861 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.5313, allocations: 0 / 0.6861 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.5316, allocations: 55.59 kB / 0.6862 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.5355, allocations: 1.196 MB / 0.6874 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.5359, allocations: 154.9 kB / 0.6875 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006789/0.5366, allocations: 390.1 kB / 0.6879 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.865e-05/0.5367, allocations: 13.48 kB / 0.6879 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.5371, allocations: 171.4 kB / 0.6881 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004234/0.5375, allocations: 175.4 kB / 0.6882 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.272e-05/0.5376, allocations: 12 kB / 0.6882 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.5399, allocations: 1.022 MB / 0.6892 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.54, allocations: 43.7 kB / 0.6893 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.5401, allocations: 111.5 kB / 0.6894 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.542, allocations: 0.8477 MB / 0.6902 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5421, allocations: 0 / 0.6902 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5421, allocations: 3.938 kB / 0.6902 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.5421, allocations: 0 / 0.6902 GB, free: 14.79 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.001533/0.5436, allocations: 0.6789 MB / 0.6909 GB, free: 14.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5437, allocations: 12.03 kB / 0.6909 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008142/0.5518, allocations: 0.6092 MB / 0.6915 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.5524, allocations: 263.4 kB / 0.6917 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5525, allocations: 119.4 kB / 0.6918 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5527, allocations: 24 kB / 0.6919 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5539, allocations: 0.5633 MB / 0.6924 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.554, allocations: 0 / 0.6924 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.5541, allocations: 12 kB / 0.6924 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.5541, allocations: 12 kB / 0.6924 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.5556, allocations: 0.6299 MB / 0.6931 GB, free: 11.72 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.002286/0.5579, allocations: 1.721 MB / 0.6947 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.5582, allocations: 150.5 kB / 0.6949 GB, free: 9.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.5584, allocations: 76.86 kB / 0.695 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007104/0.5591, allocations: 0.7042 MB / 0.6956 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5592, allocations: 38.56 kB / 0.6957 GB, free: 8.766 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.763e-06/0.5592, allocations: 0 / 0.6957 GB, free: 8.766 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.001038/0.5602, allocations: 320.1 kB / 0.696 GB, free: 8.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5603, allocations: 63.3 kB / 0.696 GB, free: 8.375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.5605, allocations: 195.8 kB / 0.6962 GB, free: 8.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.5605, allocations: 29.7 kB / 0.6963 GB, free: 8.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.5606, allocations: 187.2 kB / 0.6964 GB, free: 7.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.5607, allocations: 59.19 kB / 0.6965 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.5608, allocations: 97.95 kB / 0.6966 GB, free: 7.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5609, allocations: 326.8 kB / 0.6969 GB, free: 7.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5611, allocations: 64.7 kB / 0.697 GB, free: 7.402 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.5614, allocations: 264 kB / 0.6972 GB, free: 7.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.5618, allocations: 368.8 kB / 0.6976 GB, free: 6.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.5619, allocations: 4 kB / 0.6976 GB, free: 6.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00064/0.5625, allocations: 368.7 kB / 0.6979 GB, free: 6.227 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5625, allocations: 10.03 kB / 0.6979 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5626, allocations: 16.83 kB / 0.6979 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5626, allocations: 11.98 kB / 0.698 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.563, allocations: 127.8 kB / 0.6981 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003698/0.5634, allocations: 0.6054 MB / 0.6987 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.5636, allocations: 47.53 kB / 0.6987 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.5637, allocations: 40 kB / 0.6988 GB, free: 5.352 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.0001557/0.5639, allocations: 152.6 kB / 0.6989 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.601e-05/0.5639, allocations: 23.84 kB / 0.6989 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007551/0.5647, allocations: 421.1 kB / 0.6993 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.5647, allocations: 3.984 kB / 0.6993 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5647, allocations: 0 / 0.6993 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5647, allocations: 0 / 0.6993 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000859/0.5656, allocations: 0.6304 MB / 0.6999 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5656, allocations: 4 kB / 0.7 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.5658, allocations: 55.97 kB / 0.7 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.5658, allocations: 4 kB / 0.7 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5659, allocations: 15.92 kB / 0.7 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/0.5662, allocations: 0.5979 MB / 0.7006 GB, free: 3.312 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5662, allocations: 4.031 kB / 0.7006 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.5666, allocations: 296.8 kB / 0.7009 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.5667, allocations: 112.8 kB / 0.701 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.5668, allocations: 4 kB / 0.701 GB, free: 2.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.567, allocations: 11.98 kB / 0.701 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.5671, allocations: 27.86 kB / 0.701 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.5671, allocations: 19.94 kB / 0.7011 GB, free: 2.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001182/0.5673, allocations: 144.1 kB / 0.7012 GB, free: 2.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5673, allocations: 4 kB / 0.7012 GB, free: 2.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006331/0.5679, allocations: 151.8 kB / 0.7013 GB, free: 2.5 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.0005933/0.5685, allocations: 238.6 kB / 0.7016 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.569, allocations: 233.1 kB / 0.7018 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.569, allocations: 0 / 0.7018 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.5692, allocations: 80.2 kB / 0.7019 GB, free: 1.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.5698, allocations: 60.02 kB / 0.7019 GB, free: 1.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.5711, allocations: 0.7261 MB / 0.7026 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.5714, allocations: 0.7245 MB / 0.7033 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.5716, allocations: 87.36 kB / 0.7034 GB, free: 296 kB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.5716, allocations: 0 / 0.7034 GB, free: 296 kB / 0.545 GB Notification: Performance of Templates: time 0.008892/0.5805, allocations: 5.346 MB / 0.7087 GB, free: 10.94 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