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.001103/0.001103, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 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.228/0.228, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 75.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4439, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.204/0.648, allocations: 153 MB / 0.6804 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006275/0.6543, allocations: 5.151 MB / 0.6855 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.6546, allocations: 4 kB / 0.6855 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004152/0.6551, allocations: 55.61 kB / 0.6855 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.6595, allocations: 1.193 MB / 0.6867 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.66, allocations: 141.2 kB / 0.6868 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.6608, allocations: 406.1 kB / 0.6872 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.6609, allocations: 9.688 kB / 0.6872 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.6613, allocations: 171.3 kB / 0.6874 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.6617, allocations: 171.4 kB / 0.6876 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.911e-05/0.6618, allocations: 8 kB / 0.6876 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.6642, allocations: 1.025 MB / 0.6886 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.6643, allocations: 43.81 kB / 0.6886 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.6645, allocations: 111.5 kB / 0.6887 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.6665, allocations: 0.8499 MB / 0.6895 GB, free: 14.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.6665, allocations: 4 kB / 0.6895 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6665, allocations: 0 / 0.6895 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.6666, allocations: 0 / 0.6895 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.001591/0.6682, allocations: 0.7048 MB / 0.6902 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.6682, allocations: 8.031 kB / 0.6902 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.6759, allocations: 0.6054 MB / 0.6908 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.6766, allocations: 275.3 kB / 0.6911 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.6768, allocations: 127.4 kB / 0.6912 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.677, allocations: 16 kB / 0.6912 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6784, allocations: 0.5595 MB / 0.6918 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.6784, allocations: 4 kB / 0.6918 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.6786, allocations: 12 kB / 0.6918 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.6786, allocations: 4 kB / 0.6918 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.6801, allocations: 0.6338 MB / 0.6924 GB, free: 11.7 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.002406/0.6826, allocations: 1.718 MB / 0.6941 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.683, allocations: 158.5 kB / 0.6942 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.6832, allocations: 76.86 kB / 0.6943 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.6839, allocations: 0.7003 MB / 0.695 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.684, allocations: 38.56 kB / 0.695 GB, free: 8.746 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.684, allocations: 0 / 0.695 GB, free: 8.746 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.001086/0.6851, allocations: 327.5 kB / 0.6954 GB, free: 8.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.6851, allocations: 51.41 kB / 0.6954 GB, free: 8.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.6853, allocations: 195.9 kB / 0.6956 GB, free: 8.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.6854, allocations: 29.64 kB / 0.6956 GB, free: 8.125 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.6855, allocations: 203.7 kB / 0.6958 GB, free: 7.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.6856, allocations: 63.48 kB / 0.6959 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6857, allocations: 98 kB / 0.696 GB, free: 7.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6859, allocations: 326.8 kB / 0.6963 GB, free: 7.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.686, allocations: 68.7 kB / 0.6963 GB, free: 7.363 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.6863, allocations: 260.1 kB / 0.6966 GB, free: 7.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.6868, allocations: 363.6 kB / 0.6969 GB, free: 6.566 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.6868, allocations: 0 / 0.6969 GB, free: 6.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007598/0.6876, allocations: 377 kB / 0.6973 GB, free: 6.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.6876, allocations: 8 kB / 0.6973 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.6877, allocations: 15.81 kB / 0.6973 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.6877, allocations: 12 kB / 0.6973 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.6881, allocations: 124.5 kB / 0.6974 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004573/0.6886, allocations: 0.6055 MB / 0.698 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.6889, allocations: 43.72 kB / 0.6981 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.769e-05/0.689, allocations: 44 kB / 0.6981 GB, free: 5.32 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.000184/0.6892, allocations: 141.7 kB / 0.6983 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/0.6893, allocations: 23.89 kB / 0.6983 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.6901, allocations: 435.3 kB / 0.6987 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.6901, allocations: 4 kB / 0.6987 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6902, allocations: 3.984 kB / 0.6987 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6902, allocations: 0 / 0.6987 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.6912, allocations: 0.6266 MB / 0.6993 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6912, allocations: 0 / 0.6993 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.6915, allocations: 59.91 kB / 0.6994 GB, free: 3.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6915, allocations: 4 kB / 0.6994 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.6915, allocations: 15.92 kB / 0.6994 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003488/0.6919, allocations: 0.5941 MB / 0.7 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.6919, allocations: 7.969 kB / 0.7 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.6923, allocations: 289.4 kB / 0.7003 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.6924, allocations: 105 kB / 0.7004 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.6925, allocations: 15.94 kB / 0.7004 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.6927, allocations: 4 kB / 0.7004 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.6928, allocations: 27.91 kB / 0.7004 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.6928, allocations: 15.94 kB / 0.7004 GB, free: 2.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001238/0.693, allocations: 148.2 kB / 0.7006 GB, free: 2.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.693, allocations: 0 / 0.7006 GB, free: 2.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006786/0.6937, allocations: 151.7 kB / 0.7007 GB, free: 2.477 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.0008299/0.6945, allocations: 261 kB / 0.701 GB, free: 2.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007233/0.6952, allocations: 228 kB / 0.7012 GB, free: 1.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6953, allocations: 4 kB / 0.7012 GB, free: 1.992 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.6955, allocations: 77.41 kB / 0.7012 GB, free: 1.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.696, allocations: 64.59 kB / 0.7013 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.6976, allocations: 0.696 MB / 0.702 GB, free: 1.113 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.698, allocations: 0.7206 MB / 0.7027 GB, free: 376 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007728/0.6988, allocations: 385.1 kB / 0.7031 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.6989, allocations: 75.31 kB / 0.7031 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.699, allocations: 0 / 0.7031 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.01198/0.7109, allocations: 5.222 MB / 0.7082 GB, free: 10.73 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/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