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.001626/0.001627, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002475/0.002475, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.36/2.36, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3111/0.3111, allocations: 46.12 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 72.62 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2212, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.7793/1.001, allocations: 150.8 MB / 0.6159 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/1.013, allocations: 5.234 MB / 0.621 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/1.013, allocations: 4 kB / 0.621 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/1.014, allocations: 51.67 kB / 0.6211 GB, free: 7.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007275/1.021, allocations: 1.047 MB / 0.6221 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/1.022, allocations: 135.4 kB / 0.6222 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/1.023, allocations: 466.1 kB / 0.6227 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/1.023, allocations: 9.688 kB / 0.6227 GB, free: 6.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/1.024, allocations: 171.3 kB / 0.6229 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/1.025, allocations: 183.4 kB / 0.623 GB, free: 5.684 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.443e-05/1.025, allocations: 4 kB / 0.623 GB, free: 5.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005302/1.03, allocations: 0.9869 MB / 0.624 GB, free: 4.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/1.031, allocations: 51.73 kB / 0.624 GB, free: 4.641 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004307/1.031, allocations: 111.5 kB / 0.6242 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/1.034, allocations: 0.6004 MB / 0.6247 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/1.034, allocations: 0 / 0.6247 GB, free: 3.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/1.034, allocations: 0 / 0.6247 GB, free: 3.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.473e-05/1.034, allocations: 0 / 0.6247 GB, free: 3.93 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.003131/1.037, allocations: 0.6828 MB / 0.6254 GB, free: 3.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/1.037, allocations: 8.875 kB / 0.6254 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01461/1.052, allocations: 0.6063 MB / 0.626 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/1.053, allocations: 275.7 kB / 0.6263 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000262/1.053, allocations: 127.4 kB / 0.6264 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/1.053, allocations: 19.94 kB / 0.6264 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/1.056, allocations: 0.5595 MB / 0.627 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.056, allocations: 7.938 kB / 0.627 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.056, allocations: 8 kB / 0.627 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/1.056, allocations: 8 kB / 0.627 GB, free: 1.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/1.059, allocations: 0.6338 MB / 0.6276 GB, free: 0.8555 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.004182/1.063, allocations: 1.718 MB / 0.6293 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/1.064, allocations: 157.8 kB / 0.6294 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/1.064, allocations: 68.88 kB / 0.6295 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/1.066, allocations: 0.7045 MB / 0.6302 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/1.066, allocations: 38.56 kB / 0.6302 GB, free: 13.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 3.697e-06/1.066, allocations: 0 / 0.6302 GB, free: 13.91 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.002098/1.068, allocations: 317.2 kB / 0.6305 GB, free: 13.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/1.068, allocations: 51.41 kB / 0.6306 GB, free: 13.53 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/1.069, allocations: 198.9 kB / 0.6308 GB, free: 13.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/1.069, allocations: 25.7 kB / 0.6308 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00034/1.069, allocations: 195.2 kB / 0.631 GB, free: 13.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/1.069, allocations: 59.19 kB / 0.631 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/1.069, allocations: 97.97 kB / 0.6311 GB, free: 12.93 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002347/1.07, allocations: 330.8 kB / 0.6314 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/1.07, allocations: 68.66 kB / 0.6315 GB, free: 12.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.071, allocations: 268 kB / 0.6318 GB, free: 12.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.072, allocations: 369.9 kB / 0.6321 GB, free: 11.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/1.072, allocations: 0 / 0.6321 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001367/1.073, allocations: 365.1 kB / 0.6325 GB, free: 11.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/1.073, allocations: 8 kB / 0.6325 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.073, allocations: 8 kB / 0.6325 GB, free: 11.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.791e-05/1.073, allocations: 19.88 kB / 0.6325 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/1.074, allocations: 119.9 kB / 0.6326 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009911/1.075, allocations: 0.606 MB / 0.6332 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/1.076, allocations: 47.53 kB / 0.6332 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/1.076, allocations: 43.98 kB / 0.6333 GB, free: 10.49 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.0004577/1.076, allocations: 141.7 kB / 0.6334 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/1.077, allocations: 19.81 kB / 0.6334 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/1.079, allocations: 441.8 kB / 0.6339 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/1.079, allocations: 4 kB / 0.6339 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.079, allocations: 0 / 0.6339 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.079, allocations: 0 / 0.6339 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/1.081, allocations: 0.627 MB / 0.6345 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.081, allocations: 0 / 0.6345 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/1.081, allocations: 63.89 kB / 0.6345 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.081, allocations: 4 kB / 0.6345 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/1.081, allocations: 4 kB / 0.6345 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008579/1.082, allocations: 0.6018 MB / 0.6351 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.082, allocations: 13.67 kB / 0.6351 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/1.083, allocations: 281.4 kB / 0.6354 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/1.083, allocations: 112.8 kB / 0.6355 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/1.084, allocations: 8 kB / 0.6355 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/1.084, allocations: 7.984 kB / 0.6355 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/1.084, allocations: 23.92 kB / 0.6356 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.004e-05/1.084, allocations: 19.98 kB / 0.6356 GB, free: 7.957 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004007/1.085, allocations: 144.2 kB / 0.6357 GB, free: 7.816 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.268e-06/1.085, allocations: 0 / 0.6357 GB, free: 7.816 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001399/1.086, allocations: 163.7 kB / 0.6359 GB, free: 7.656 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.001438/1.088, allocations: 242.3 kB / 0.6361 GB, free: 7.422 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/1.089, allocations: 223.6 kB / 0.6363 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.089, allocations: 1.875 kB / 0.6363 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004028/1.089, allocations: 83.83 kB / 0.6364 GB, free: 7.121 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/1.091, allocations: 56.39 kB / 0.6365 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.093, allocations: 0.8032 MB / 0.6372 GB, free: 6.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.094, allocations: 0.7248 MB / 0.6379 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/1.095, allocations: 91.36 kB / 0.638 GB, free: 5.367 MB / 478.1 MB Notification: Performance of SimCode: time 1.953e-06/1.095, allocations: 0 / 0.638 GB, free: 5.367 MB / 478.1 MB Notification: Performance of Templates: time 0.01668/1.111, allocations: 5.334 MB / 0.6432 GB, free: 40 kB / 478.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/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