Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.008894/0.008893, allocations: 101.3 kB / 15.88 MB, free: 6.309 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.001194/0.001194, allocations: 196.3 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.1 MB / 222.7 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4059/0.4059, allocations: 43.5 MB / 313.5 MB, free: 8.473 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 62.09 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5231/0.6832, allocations: 149.1 MB / 0.5751 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.6938, allocations: 7.174 MB / 0.5821 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.694, allocations: 0 / 0.5821 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.6944, allocations: 47.72 kB / 0.5822 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.6996, allocations: 1.243 MB / 0.5834 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.7, allocations: 137.5 kB / 0.5835 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/0.7007, allocations: 470.1 kB / 0.584 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.7008, allocations: 12.34 kB / 0.584 GB, free: 14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.7011, allocations: 171.2 kB / 0.5841 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.7015, allocations: 175.5 kB / 0.5843 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.7015, allocations: 8 kB / 0.5843 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.7042, allocations: 1.17 MB / 0.5855 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.7043, allocations: 39.83 kB / 0.5855 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.7044, allocations: 115.4 kB / 0.5856 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00195/0.7064, allocations: 0.9705 MB / 0.5866 GB, free: 11.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7064, allocations: 4 kB / 0.5866 GB, free: 11.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.7064, allocations: 0 / 0.5866 GB, free: 11.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.7064, allocations: 0 / 0.5866 GB, free: 11.36 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.001672/0.7081, allocations: 0.7177 MB / 0.5873 GB, free: 10.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.7082, allocations: 11.97 kB / 0.5873 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007451/0.7156, allocations: 0.5874 MB / 0.5879 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.7163, allocations: 268.3 kB / 0.5881 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.7165, allocations: 131.2 kB / 0.5882 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.7166, allocations: 19.98 kB / 0.5883 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.7181, allocations: 0.5607 MB / 0.5888 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7181, allocations: 0 / 0.5888 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.7182, allocations: 12 kB / 0.5888 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.7183, allocations: 8 kB / 0.5888 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.7198, allocations: 0.6299 MB / 0.5894 GB, free: 8.285 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.002667/0.7225, allocations: 1.632 MB / 0.591 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.7229, allocations: 162.4 kB / 0.5912 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.7231, allocations: 78.05 kB / 0.5913 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/0.725, allocations: 1.314 MB / 0.5925 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.7251, allocations: 34.56 kB / 0.5926 GB, free: 4.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.7251, allocations: 0 / 0.5926 GB, free: 4.742 MB / 462.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=18): time 0.001157/0.7262, allocations: 329.2 kB / 0.5929 GB, free: 4.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.7263, allocations: 59.28 kB / 0.5929 GB, free: 4.344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.7265, allocations: 195.3 kB / 0.5931 GB, free: 4.141 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.7265, allocations: 33.7 kB / 0.5932 GB, free: 4.102 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.7267, allocations: 183.2 kB / 0.5933 GB, free: 3.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.7268, allocations: 63.19 kB / 0.5934 GB, free: 3.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.7269, allocations: 89.88 kB / 0.5935 GB, free: 3.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7271, allocations: 330.8 kB / 0.5938 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.7272, allocations: 64.7 kB / 0.5939 GB, free: 3.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.7275, allocations: 271.8 kB / 0.5941 GB, free: 3.008 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.7281, allocations: 373.5 kB / 0.5945 GB, free: 2.551 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7281, allocations: 0 / 0.5945 GB, free: 2.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000594/0.7287, allocations: 364.8 kB / 0.5948 GB, free: 2.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7287, allocations: 8 kB / 0.5948 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7287, allocations: 4.906 kB / 0.5948 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.7288, allocations: 12 kB / 0.5948 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.7292, allocations: 135.7 kB / 0.595 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005103/0.7297, allocations: 0.5938 MB / 0.5956 GB, free: 1.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.73, allocations: 47.53 kB / 0.5956 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.7301, allocations: 47.92 kB / 0.5956 GB, free: 1.32 MB / 462.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.000175/0.7302, allocations: 149.7 kB / 0.5958 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.7303, allocations: 23.73 kB / 0.5958 GB, free: 1.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007759/0.7311, allocations: 297.5 kB / 0.5961 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7311, allocations: 4 kB / 0.5961 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7311, allocations: 0 / 0.5961 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.7311, allocations: 0 / 0.5961 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.7319, allocations: 0.5276 MB / 0.5966 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7319, allocations: 4.031 kB / 0.5966 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.7321, allocations: 51.97 kB / 0.5967 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.7321, allocations: 4 kB / 0.5967 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7321, allocations: 15.92 kB / 0.5967 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003802/0.7325, allocations: 0.5938 MB / 0.5973 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7325, allocations: 0 / 0.5973 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.7329, allocations: 262.8 kB / 0.5975 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.733, allocations: 116.8 kB / 0.5976 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.7331, allocations: 9.484 kB / 0.5976 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.7333, allocations: 19.91 kB / 0.5977 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.7334, allocations: 11.98 kB / 0.5977 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.7334, allocations: 19.98 kB / 0.5977 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.7335, allocations: 136.2 kB / 0.5978 GB, free: 14.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7336, allocations: 0 / 0.5978 GB, free: 14.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.7344, allocations: 191.9 kB / 0.598 GB, free: 14.76 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008772/0.7352, allocations: 326.7 kB / 0.5983 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005129/0.7358, allocations: 224.8 kB / 0.5985 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7358, allocations: 0.5625 kB / 0.5985 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.736, allocations: 83.89 kB / 0.5986 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.7365, allocations: 66.17 kB / 0.5987 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.7398, allocations: 2.003 MB / 0.6006 GB, free: 12.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7402, allocations: 0.7284 MB / 0.6013 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.7407, allocations: 106.9 kB / 0.6014 GB, free: 11.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.7409, allocations: 43.42 kB / 0.6015 GB, free: 11.14 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.7409, allocations: 0 / 0.6015 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Templates: time 0.01133/0.7522, allocations: 6.01 MB / 0.6074 GB, free: 5.172 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches