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.001235/0.001235, allocations: 113.4 kB / 17.33 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 208 kB / 18.27 MB, free: 4.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.1 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002643, allocations: 72.89 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1883, allocations: 62.45 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4688/0.6572, allocations: 150.9 MB / 0.6156 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006489/0.6638, allocations: 5.132 MB / 0.6206 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.6641, allocations: 0 / 0.6206 GB, free: 7.648 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.6645, allocations: 39.8 kB / 0.6207 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.6684, allocations: 1.099 MB / 0.6217 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.6688, allocations: 134.9 kB / 0.6219 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007111/0.6695, allocations: 390.1 kB / 0.6222 GB, free: 6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.445e-05/0.6696, allocations: 13.67 kB / 0.6223 GB, free: 5.988 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.67, allocations: 179.3 kB / 0.6224 GB, free: 5.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.6705, allocations: 183.4 kB / 0.6226 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.48e-05/0.6705, allocations: 8 kB / 0.6226 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.6731, allocations: 1.018 MB / 0.6236 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.6732, allocations: 47.81 kB / 0.6236 GB, free: 4.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.6734, allocations: 107.5 kB / 0.6238 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003063/0.6765, allocations: 0.8653 MB / 0.6246 GB, free: 3.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6765, allocations: 4 kB / 0.6246 GB, free: 3.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6765, allocations: 0 / 0.6246 GB, free: 3.582 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.6766, allocations: 0 / 0.6246 GB, free: 3.582 MB / 462.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.001981/0.6785, allocations: 0.6789 MB / 0.6253 GB, free: 2.852 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6786, allocations: 8.031 kB / 0.6253 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007645/0.6863, allocations: 0.6097 MB / 0.6259 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.6869, allocations: 267.7 kB / 0.6261 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.687, allocations: 119.4 kB / 0.6262 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.6872, allocations: 31.94 kB / 0.6263 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.6886, allocations: 0.5672 MB / 0.6268 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6886, allocations: 0 / 0.6268 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.6887, allocations: 15.94 kB / 0.6268 GB, free: 1.148 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.6887, allocations: 8 kB / 0.6268 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.6902, allocations: 0.6299 MB / 0.6275 GB, free: 0.5078 MB / 462.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.002818/0.6931, allocations: 1.714 MB / 0.6291 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.6935, allocations: 154.5 kB / 0.6293 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.6936, allocations: 76.88 kB / 0.6294 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.6945, allocations: 0.6966 MB / 0.63 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.6945, allocations: 30.56 kB / 0.6301 GB, free: 13.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.432e-06/0.6945, allocations: 4 kB / 0.6301 GB, free: 13.57 MB / 478.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.001118/0.6957, allocations: 330.3 kB / 0.6304 GB, free: 13.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6957, allocations: 51.41 kB / 0.6304 GB, free: 13.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.6959, allocations: 195.7 kB / 0.6306 GB, free: 12.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.696, allocations: 29.7 kB / 0.6306 GB, free: 12.95 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6961, allocations: 187.2 kB / 0.6308 GB, free: 12.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.6962, allocations: 67.19 kB / 0.6309 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.6963, allocations: 93.97 kB / 0.631 GB, free: 12.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6965, allocations: 330.8 kB / 0.6313 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6966, allocations: 68.66 kB / 0.6314 GB, free: 12.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.6969, allocations: 268 kB / 0.6316 GB, free: 11.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.6975, allocations: 366.1 kB / 0.632 GB, free: 11.38 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6975, allocations: 4 kB / 0.632 GB, free: 11.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000667/0.6981, allocations: 366.1 kB / 0.6323 GB, free: 11.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.6982, allocations: 8 kB / 0.6323 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6982, allocations: 11.94 kB / 0.6323 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.6982, allocations: 11.94 kB / 0.6323 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.6986, allocations: 127.8 kB / 0.6325 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005061/0.6992, allocations: 0.6021 MB / 0.6331 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.6995, allocations: 43.53 kB / 0.6331 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.6995, allocations: 43.98 kB / 0.6331 GB, free: 10.15 MB / 478.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.0001668/0.6997, allocations: 145.6 kB / 0.6333 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.6998, allocations: 23.81 kB / 0.6333 GB, free: 9.977 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.7008, allocations: 435.8 kB / 0.6337 GB, free: 9.547 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7008, allocations: 4 kB / 0.6337 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7008, allocations: 0 / 0.6337 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7008, allocations: 0 / 0.6337 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.7018, allocations: 0.6304 MB / 0.6343 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7018, allocations: 0 / 0.6343 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.702, allocations: 55.95 kB / 0.6344 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.7021, allocations: 4 kB / 0.6344 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.7021, allocations: 8 kB / 0.6344 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003412/0.7024, allocations: 0.6018 MB / 0.635 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7024, allocations: 4.031 kB / 0.635 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.7029, allocations: 293.3 kB / 0.6353 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.703, allocations: 112.8 kB / 0.6354 GB, free: 7.668 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.703, allocations: 4 kB / 0.6354 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.7033, allocations: 13.17 kB / 0.6354 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.7034, allocations: 19.92 kB / 0.6354 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.7034, allocations: 19.98 kB / 0.6354 GB, free: 7.613 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.7035, allocations: 144.2 kB / 0.6356 GB, free: 7.473 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7036, allocations: 0 / 0.6356 GB, free: 7.473 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006715/0.7042, allocations: 159.9 kB / 0.6357 GB, free: 7.316 MB / 478.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 (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.0006626/0.7049, allocations: 251.4 kB / 0.636 GB, free: 7.078 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006041/0.7055, allocations: 235.8 kB / 0.6362 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7055, allocations: 0 / 0.6362 GB, free: 6.848 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.7058, allocations: 81.39 kB / 0.6363 GB, free: 6.77 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.7063, allocations: 68.97 kB / 0.6363 GB, free: 6.707 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.7078, allocations: 0.7738 MB / 0.6371 GB, free: 5.883 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.7081, allocations: 0.7168 MB / 0.6378 GB, free: 5.137 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008577/0.709, allocations: 385.1 kB / 0.6382 GB, free: 4.762 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.7092, allocations: 63.38 kB / 0.6382 GB, free: 4.699 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7092, allocations: 0 / 0.6382 GB, free: 4.699 MB / 478.1 MB Notification: Performance of Templates: time 0.01054/0.7198, allocations: 5.191 MB / 0.6433 GB, free: 15.54 MB / 494.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches