Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001363/0.001363, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001417/0.001418, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4449, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2035/0.6485, allocations: 150.1 MB / 0.6655 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00584/0.6544, allocations: 5.143 MB / 0.6706 GB, free: 184 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.6545, allocations: 4 kB / 0.6706 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.6549, allocations: 59.59 kB / 0.6706 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.6588, allocations: 1.197 MB / 0.6718 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.6592, allocations: 143.5 kB / 0.6719 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.6598, allocations: 394.1 kB / 0.6723 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.6599, allocations: 13.48 kB / 0.6723 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.6601, allocations: 171.4 kB / 0.6725 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.6604, allocations: 167.4 kB / 0.6726 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/0.6605, allocations: 8 kB / 0.6727 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.6626, allocations: 1.014 MB / 0.6736 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.6627, allocations: 55.73 kB / 0.6737 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.6628, allocations: 111.5 kB / 0.6738 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.6643, allocations: 0.8283 MB / 0.6746 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6643, allocations: 8 kB / 0.6746 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6643, allocations: 0 / 0.6746 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6643, allocations: 0 / 0.6746 GB, free: 12.03 MB / 0.5294 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.00127/0.6656, allocations: 0.6866 MB / 0.6753 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6656, allocations: 8.031 kB / 0.6753 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006919/0.6725, allocations: 0.5858 MB / 0.6759 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.6731, allocations: 263.4 kB / 0.6761 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.6733, allocations: 123.4 kB / 0.6762 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.324e-05/0.6734, allocations: 27.94 kB / 0.6763 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6746, allocations: 0.575 MB / 0.6768 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6746, allocations: 0 / 0.6768 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.6747, allocations: 11.98 kB / 0.6768 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.6747, allocations: 8 kB / 0.6768 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.6761, allocations: 0.6299 MB / 0.6775 GB, free: 8.969 MB / 0.5294 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.002237/0.6784, allocations: 1.709 MB / 0.6791 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.6788, allocations: 162.5 kB / 0.6793 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.6789, allocations: 76.81 kB / 0.6794 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006866/0.6796, allocations: 0.7045 MB / 0.68 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.6796, allocations: 34.56 kB / 0.6801 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.893e-06/0.6796, allocations: 0 / 0.6801 GB, free: 6.016 MB / 0.5294 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.001158/0.6808, allocations: 324 kB / 0.6804 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.6809, allocations: 55.41 kB / 0.6804 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.6811, allocations: 194.9 kB / 0.6806 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.6811, allocations: 33.7 kB / 0.6807 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6813, allocations: 179.3 kB / 0.6808 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.6814, allocations: 67.09 kB / 0.6809 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.6815, allocations: 93.95 kB / 0.681 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6817, allocations: 330.8 kB / 0.6813 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.6818, allocations: 68.7 kB / 0.6814 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.6821, allocations: 260 kB / 0.6816 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.6826, allocations: 370.1 kB / 0.682 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.6826, allocations: 4 kB / 0.682 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006336/0.6833, allocations: 365.6 kB / 0.6823 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6833, allocations: 8 kB / 0.6823 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.6834, allocations: 11.94 kB / 0.6823 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.6834, allocations: 8 kB / 0.6823 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.6838, allocations: 127.8 kB / 0.6825 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.6843, allocations: 0.6016 MB / 0.6831 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.6845, allocations: 39.53 kB / 0.6831 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.6846, allocations: 52.14 kB / 0.6831 GB, free: 2.609 MB / 0.5294 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.0001626/0.6848, allocations: 145.6 kB / 0.6833 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.6848, allocations: 15.81 kB / 0.6833 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008145/0.6857, allocations: 436.1 kB / 0.6837 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6857, allocations: 4 kB / 0.6837 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.6857, allocations: 0 / 0.6837 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6857, allocations: 7.984 kB / 0.6837 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.6867, allocations: 0.6343 MB / 0.6843 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6867, allocations: 4.219 kB / 0.6843 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.6869, allocations: 55.97 kB / 0.6844 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.6869, allocations: 0 / 0.6844 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6869, allocations: 15.94 kB / 0.6844 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003357/0.6873, allocations: 0.5976 MB / 0.685 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6873, allocations: 0 / 0.685 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.6877, allocations: 293.3 kB / 0.6853 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.6878, allocations: 108.8 kB / 0.6854 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6878, allocations: 8 kB / 0.6854 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.6881, allocations: 15.98 kB / 0.6854 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.6881, allocations: 15.92 kB / 0.6854 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.6882, allocations: 23.92 kB / 0.6854 GB, free: 56 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001566/0.6883, allocations: 140.2 kB / 0.6856 GB, free: 15.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6883, allocations: 0 / 0.6856 GB, free: 15.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006927/0.689, allocations: 155.8 kB / 0.6857 GB, free: 15.77 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.0005883/0.6896, allocations: 240.2 kB / 0.686 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.6902, allocations: 229.3 kB / 0.6862 GB, free: 15.31 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6902, allocations: 4 kB / 0.6862 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.6904, allocations: 83.83 kB / 0.6863 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.691, allocations: 64.61 kB / 0.6863 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.6924, allocations: 0.6815 MB / 0.687 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.6927, allocations: 0.7324 MB / 0.6877 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006553/0.6934, allocations: 385 kB / 0.6881 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6936, allocations: 63.38 kB / 0.6881 GB, free: 13.24 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.6936, allocations: 0 / 0.6881 GB, free: 13.24 MB / 0.545 GB Notification: Performance of Templates: time 0.01116/0.7048, allocations: 5.243 MB / 0.6933 GB, free: 8.031 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches