Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001204/0.001204, allocations: 107.4 kB / 17.2 MB, free: 6.273 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.001098/0.001098, allocations: 194 kB / 18.12 MB, free: 5.363 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.443/1.443, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2351/0.2351, allocations: 44.17 MB / 336.1 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 66.11 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1551, allocations: 60.84 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01405/0.1692, allocations: 11.45 MB / 480 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.1829, allocations: 12.04 MB / 492 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1832, allocations: 4 kB / 492 MB, free: 7.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1836, allocations: 59.67 kB / 492.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.1946, allocations: 2.637 MB / 494.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.195, allocations: 142.8 kB / 494.9 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007277/0.2023, allocations: 4.141 MB / 499 MB, free: 216 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.2025, allocations: 20.34 kB / 499 MB, free: 196 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.2027, allocations: 139.5 kB / 499.2 MB, free: 56 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.2158, allocations: 7.563 MB / 0.4949 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.216, allocations: 8 kB / 0.4949 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006149/0.2221, allocations: 2.084 MB / 0.4969 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2223, allocations: 55.73 kB / 0.497 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2225, allocations: 119.5 kB / 0.4971 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.2271, allocations: 1.536 MB / 0.4986 GB, free: 4.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2271, allocations: 0 / 0.4986 GB, free: 4.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2271, allocations: 4 kB / 0.4986 GB, free: 4.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2272, allocations: 0 / 0.4986 GB, free: 4.672 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.00222/0.2294, allocations: 0.9166 MB / 0.4995 GB, free: 3.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.2294, allocations: 12.02 kB / 0.4995 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006055/0.2301, allocations: 84.59 kB / 0.4996 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2303, allocations: 247.9 kB / 0.4998 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.2304, allocations: 20.94 kB / 0.4998 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.2304, allocations: 24.38 kB / 0.4998 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/0.2314, allocations: 489.6 kB / 0.5003 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2314, allocations: 0 / 0.5003 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.2315, allocations: 16 kB / 0.5003 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.2315, allocations: 8 kB / 0.5003 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2326, allocations: 0.6773 MB / 0.501 GB, free: 2.074 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.3188/0.5514, allocations: 3.098 MB / 0.504 GB, free: 50.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.5522, allocations: 213.6 kB / 0.5042 GB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.5524, allocations: 82 kB / 0.5043 GB, free: 50.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07723/0.6296, allocations: 30.76 MB / 0.5343 GB, free: 30.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007121/0.6304, allocations: 343.8 kB / 0.5347 GB, free: 30.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.6304, allocations: 7.938 kB / 0.5347 GB, free: 30.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002871/0.6333, allocations: 0.9686 MB / 0.5356 GB, free: 29.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.6334, allocations: 479.9 kB / 0.5361 GB, free: 28.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.6336, allocations: 164 kB / 0.5362 GB, free: 28.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.6336, allocations: 33.69 kB / 0.5363 GB, free: 28.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.6337, allocations: 164.1 kB / 0.5364 GB, free: 28.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.261e-05/0.6338, allocations: 130 kB / 0.5365 GB, free: 28.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.6339, allocations: 94.14 kB / 0.5366 GB, free: 28.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.634, allocations: 337.3 kB / 0.5369 GB, free: 27.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6342, allocations: 73.08 kB / 0.537 GB, free: 27.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.6345, allocations: 318.2 kB / 0.5373 GB, free: 27.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.6349, allocations: 450.3 kB / 0.5378 GB, free: 26.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6349, allocations: 0 / 0.5378 GB, free: 26.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005887/0.6355, allocations: 443.2 kB / 0.5382 GB, free: 26.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6355, allocations: 8 kB / 0.5382 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.6355, allocations: 12.06 kB / 0.5382 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.6375, allocations: 330.4 kB / 0.5385 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.6377, allocations: 103.8 kB / 0.5386 GB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005079/0.6382, allocations: 1.223 MB / 0.5398 GB, free: 24.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.6385, allocations: 26.66 kB / 0.5398 GB, free: 24.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.6385, allocations: 32 kB / 0.5399 GB, free: 24.53 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.0001412/0.6387, allocations: 161.8 kB / 0.54 GB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.6388, allocations: 27.81 kB / 0.54 GB, free: 24.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.6399, allocations: 1.052 MB / 0.5411 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6399, allocations: 7.984 kB / 0.5411 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6399, allocations: 4 kB / 0.5411 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6399, allocations: 4.219 kB / 0.5411 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.6411, allocations: 1.552 MB / 0.5426 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6412, allocations: 4 kB / 0.5426 GB, free: 21.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6413, allocations: 43.92 kB / 0.5426 GB, free: 21.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.6424, allocations: 235.2 kB / 0.5429 GB, free: 21.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.6424, allocations: 19.94 kB / 0.5429 GB, free: 21.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004158/0.6429, allocations: 1.262 MB / 0.5441 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6429, allocations: 7.922 kB / 0.5441 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.6434, allocations: 0.6106 MB / 0.5447 GB, free: 19.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.6435, allocations: 100.8 kB / 0.5448 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.6436, allocations: 43.44 kB / 0.5449 GB, free: 19.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.6438, allocations: 19.92 kB / 0.5449 GB, free: 19.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.6438, allocations: 31.91 kB / 0.5449 GB, free: 19.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.6439, allocations: 12 kB / 0.5449 GB, free: 19.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002374/0.6441, allocations: 275.1 kB / 0.5452 GB, free: 18.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6441, allocations: 0 / 0.5452 GB, free: 18.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001403/0.6455, allocations: 441 kB / 0.5456 GB, free: 18.34 MB / 382.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.00118/0.6467, allocations: 0.6453 MB / 0.5462 GB, free: 17.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.6472, allocations: 372.3 kB / 0.5466 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6472, allocations: 4 kB / 0.5466 GB, free: 17.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.6475, allocations: 233.2 kB / 0.5468 GB, free: 17.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.6482, allocations: 124.2 kB / 0.5469 GB, free: 17.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.1/1.748, allocations: 0.4919 GB / 1.039 GB, free: 55.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/1.748, allocations: 0.835 MB / 1.04 GB, free: 55.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004992/1.749, allocations: 158.8 kB / 1.04 GB, free: 54.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/1.749, allocations: 35.42 kB / 1.04 GB, free: 54.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.774e-06/1.749, allocations: 0 / 1.04 GB, free: 54.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.01961/1.769, allocations: 15.26 MB / 1.055 GB, free: 39.72 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches