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.001254/0.001253, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001225/0.001225, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.356/1.356, allocations: 222.9 MB / 243 MB, free: 15.14 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.2153/0.2153, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 61.19 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 60.83 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.012/0.1384, allocations: 11.24 MB / 481.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.15, allocations: 11.77 MB / 493.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.1503, allocations: 4 kB / 493.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1507, allocations: 71.5 kB / 493.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1613, allocations: 3.112 MB / 496.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.1617, allocations: 165.9 kB / 497.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005641/0.1674, allocations: 3.893 MB / 0.4892 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.1674, allocations: 16.41 kB / 0.4892 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1677, allocations: 143.5 kB / 0.4894 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009956/0.1777, allocations: 7.122 MB / 0.4963 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.1777, allocations: 8 kB / 0.4963 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005931/0.1837, allocations: 2.115 MB / 0.4984 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1838, allocations: 43.77 kB / 0.4984 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.184, allocations: 127.4 kB / 0.4986 GB, free: 5.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.1879, allocations: 1.54 MB / 0.5001 GB, free: 4.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1879, allocations: 0 / 0.5001 GB, free: 4.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1879, allocations: 0 / 0.5001 GB, free: 4.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1879, allocations: 0 / 0.5001 GB, free: 4.141 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.002298/0.1902, allocations: 0.9166 MB / 0.501 GB, free: 3.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1903, allocations: 12.03 kB / 0.501 GB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006122/0.1909, allocations: 80.58 kB / 0.501 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1913, allocations: 251.9 kB / 0.5013 GB, free: 2.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1913, allocations: 20.94 kB / 0.5013 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.1914, allocations: 28.38 kB / 0.5013 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009592/0.1923, allocations: 481.6 kB / 0.5018 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1923, allocations: 0 / 0.5018 GB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.1924, allocations: 16 kB / 0.5018 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1924, allocations: 8 kB / 0.5018 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.1936, allocations: 0.6773 MB / 0.5025 GB, free: 1.547 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.2478/0.4414, allocations: 3.091 MB / 0.5055 GB, free: 50.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.4422, allocations: 222.8 kB / 0.5057 GB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.4423, allocations: 80.66 kB / 0.5058 GB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07418/0.5165, allocations: 30.75 MB / 0.5358 GB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007388/0.5173, allocations: 346.3 kB / 0.5361 GB, free: 29.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 4.198e-06/0.5173, allocations: 0 / 0.5361 GB, free: 29.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003023/0.5203, allocations: 0.9685 MB / 0.5371 GB, free: 28.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5205, allocations: 483.9 kB / 0.5376 GB, free: 28.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5206, allocations: 158.3 kB / 0.5377 GB, free: 27.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.5207, allocations: 37.7 kB / 0.5377 GB, free: 27.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.5207, allocations: 163.5 kB / 0.5379 GB, free: 27.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.074e-05/0.5208, allocations: 133.2 kB / 0.538 GB, free: 27.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.5209, allocations: 94.14 kB / 0.5381 GB, free: 27.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.521, allocations: 330.8 kB / 0.5384 GB, free: 27.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.5211, allocations: 69.08 kB / 0.5385 GB, free: 27.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.5214, allocations: 330.1 kB / 0.5388 GB, free: 26.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.5219, allocations: 451.2 kB / 0.5392 GB, free: 26.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.5219, allocations: 4 kB / 0.5392 GB, free: 26.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007662/0.5227, allocations: 435.4 kB / 0.5397 GB, free: 25.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5228, allocations: 12.03 kB / 0.5397 GB, free: 25.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.5228, allocations: 8 kB / 0.5397 GB, free: 25.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.5249, allocations: 324.2 kB / 0.54 GB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.5252, allocations: 103.8 kB / 0.5401 GB, free: 25.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000517/0.5257, allocations: 1.226 MB / 0.5413 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.526, allocations: 12.19 kB / 0.5413 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.5261, allocations: 43.98 kB / 0.5413 GB, free: 23.9 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.0001497/0.5262, allocations: 161.5 kB / 0.5415 GB, free: 23.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.153e-05/0.5263, allocations: 27.66 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.5274, allocations: 1.043 MB / 0.5425 GB, free: 22.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5274, allocations: 12.08 kB / 0.5425 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5275, allocations: 3.938 kB / 0.5425 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5275, allocations: 4 kB / 0.5426 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.5289, allocations: 1.556 MB / 0.5441 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5289, allocations: 8.031 kB / 0.5441 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.5291, allocations: 35.92 kB / 0.5441 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.5302, allocations: 248.5 kB / 0.5444 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.5303, allocations: 15.88 kB / 0.5444 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004836/0.5308, allocations: 1.258 MB / 0.5456 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5308, allocations: 8.062 kB / 0.5456 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.5315, allocations: 0.5984 MB / 0.5462 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.5315, allocations: 108.8 kB / 0.5463 GB, free: 18.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.5316, allocations: 43.44 kB / 0.5463 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.5319, allocations: 11.98 kB / 0.5463 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.5319, allocations: 31.86 kB / 0.5464 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.532, allocations: 19.98 kB / 0.5464 GB, free: 18.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000259/0.5322, allocations: 275.1 kB / 0.5467 GB, free: 18.15 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5322, allocations: 0 / 0.5467 GB, free: 18.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00152/0.5338, allocations: 431.6 kB / 0.5471 GB, free: 17.73 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.001516/0.5353, allocations: 0.6634 MB / 0.5477 GB, free: 17.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005669/0.5359, allocations: 379.4 kB / 0.5481 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.5359, allocations: 0 / 0.5481 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.5361, allocations: 227.6 kB / 0.5483 GB, free: 16.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.5369, allocations: 131.1 kB / 0.5484 GB, free: 16.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.001/1.538, allocations: 0.4918 GB / 1.04 GB, free: 55.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/1.538, allocations: 0.8273 MB / 1.041 GB, free: 54.29 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003613/1.538, allocations: 169.4 kB / 1.041 GB, free: 54.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.464e-05/1.538, allocations: 35.44 kB / 1.041 GB, free: 54.12 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/1.538, allocations: 0 / 1.041 GB, free: 54.12 MB / 0.5137 GB Notification: Performance of Templates: time 0.01755/1.556, allocations: 15.54 MB / 1.056 GB, free: 38.66 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.csv","/var/lib/jenkins1/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