Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 98.86 kB / 15.98 MB, free: 6.355 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.00134/0.00134, allocations: 199.8 kB / 16.91 MB, free: 6.195 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.636/1.636, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.4216/0.4216, allocations: 43.5 MB / 313.6 MB, free: 8.605 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.002293/0.002293, allocations: 71.89 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1743, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01623/0.1905, allocations: 11.25 MB / 451.3 MB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3096/0.5002, allocations: 14.19 MB / 465.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.5004, allocations: 2.844 kB / 465.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.5009, allocations: 63.72 kB / 465.5 MB, free: 35.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.512, allocations: 2.768 MB / 468.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.5125, allocations: 144.1 kB / 468.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.5181, allocations: 4.181 MB / 472.6 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.182e-05/0.5182, allocations: 22.5 kB / 472.6 MB, free: 34.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.5183, allocations: 146.2 kB / 472.8 MB, free: 34.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009734/0.5281, allocations: 7.729 MB / 480.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.5282, allocations: 8.875 kB / 480.5 MB, free: 32.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/0.535, allocations: 2.105 MB / 482.6 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.5351, allocations: 43.45 kB / 482.7 MB, free: 32.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.5354, allocations: 128.8 kB / 482.8 MB, free: 32.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.54, allocations: 1.544 MB / 484.3 MB, free: 31.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5401, allocations: 4 kB / 484.3 MB, free: 31.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.5401, allocations: 0 / 484.3 MB, free: 31.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.5401, allocations: 0 / 484.3 MB, free: 31.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002803/0.5429, allocations: 0.9285 MB / 485.3 MB, free: 30.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.543, allocations: 17.3 kB / 485.3 MB, free: 30.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006274/0.5436, allocations: 76.3 kB / 485.4 MB, free: 30.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.544, allocations: 240.4 kB / 485.6 MB, free: 30.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.544, allocations: 23.59 kB / 485.6 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.5441, allocations: 24.88 kB / 485.6 MB, free: 30.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5451, allocations: 489.5 kB / 486.1 MB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5452, allocations: 0 / 486.1 MB, free: 30.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.5452, allocations: 13.36 kB / 486.1 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.5452, allocations: 7 kB / 486.1 MB, free: 30.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.5465, allocations: 0.6789 MB / 486.8 MB, free: 30.21 MB / 382.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.007441/0.554, allocations: 3.104 MB / 489.9 MB, free: 28.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.5547, allocations: 214.1 kB / 490.1 MB, free: 28.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.5549, allocations: 78.38 kB / 490.2 MB, free: 28.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08468/0.6396, allocations: 30.77 MB / 0.5088 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.6408, allocations: 341.5 kB / 0.5091 GB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 5.37e-06/0.6408, allocations: 0 / 0.5091 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.004145/0.645, allocations: 0.968 MB / 0.51 GB, free: 7.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003023/0.6453, allocations: 486.6 kB / 0.5105 GB, free: 6.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.6456, allocations: 156.4 kB / 0.5106 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.6456, allocations: 33.7 kB / 0.5107 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.6458, allocations: 164 kB / 0.5108 GB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.646, allocations: 134.1 kB / 0.511 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.6462, allocations: 94.09 kB / 0.5111 GB, free: 6.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.6464, allocations: 334.8 kB / 0.5114 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.6465, allocations: 73.08 kB / 0.5114 GB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.6469, allocations: 321.3 kB / 0.5117 GB, free: 5.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.6476, allocations: 451.9 kB / 0.5122 GB, free: 4.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6476, allocations: 4 kB / 0.5122 GB, free: 4.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008993/0.6485, allocations: 450.6 kB / 0.5126 GB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.6486, allocations: 8 kB / 0.5126 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.371e-05/0.6486, allocations: 11.12 kB / 0.5126 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.6509, allocations: 318.2 kB / 0.5129 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.6512, allocations: 103.8 kB / 0.513 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000749/0.652, allocations: 1.219 MB / 0.5142 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.6524, allocations: 23.84 kB / 0.5142 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.6525, allocations: 35.98 kB / 0.5143 GB, free: 2.617 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.6528, allocations: 165.7 kB / 0.5144 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.6529, allocations: 23.81 kB / 0.5145 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.6544, allocations: 1.048 MB / 0.5155 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.6544, allocations: 11.98 kB / 0.5155 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.6545, allocations: 3.938 kB / 0.5155 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.6545, allocations: 4 kB / 0.5155 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.6564, allocations: 1.552 MB / 0.517 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/0.6564, allocations: 11.09 kB / 0.517 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.6566, allocations: 39.86 kB / 0.5171 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.658, allocations: 249.3 kB / 0.5173 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.658, allocations: 8 kB / 0.5173 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007829/0.6588, allocations: 1.266 MB / 0.5185 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.6588, allocations: 4.031 kB / 0.5186 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/0.6597, allocations: 0.6019 MB / 0.5191 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.6598, allocations: 104.9 kB / 0.5192 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.66, allocations: 47.38 kB / 0.5193 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.6602, allocations: 19.86 kB / 0.5193 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.6603, allocations: 19.91 kB / 0.5193 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.6604, allocations: 27.92 kB / 0.5194 GB, free: 13.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.6607, allocations: 275.1 kB / 0.5196 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6607, allocations: 0 / 0.5196 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002225/0.663, allocations: 439.6 kB / 0.52 GB, free: 12.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002725/0.6657, allocations: 0.6586 MB / 0.5207 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009816/0.6667, allocations: 386.2 kB / 0.521 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.6667, allocations: 4.062 kB / 0.521 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.6671, allocations: 234 kB / 0.5213 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.6681, allocations: 121.3 kB / 0.5214 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.379/2.047, allocations: 0.4919 GB / 1.013 GB, free: 146.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/2.048, allocations: 0.8346 MB / 1.014 GB, free: 146 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/2.048, allocations: 164.5 kB / 1.014 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/2.048, allocations: 37.19 kB / 1.014 GB, free: 145.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/2.048, allocations: 1.5 kB / 1.014 GB, free: 145.9 MB / 494.1 MB Notification: Performance of Templates: time 0.02807/2.076, allocations: 15.53 MB / 1.029 GB, free: 138.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches