Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007558/0.0007554, allocations: 94.97 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2923/0.2923, allocations: 44.81 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3316, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008602/0.3403, allocations: 10.22 MB / 0.5259 GB, free: 29.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.3493, allocations: 10.79 MB / 0.5364 GB, free: 21.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.3495, allocations: 2.844 kB / 0.5364 GB, free: 21.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.3499, allocations: 45.62 kB / 0.5364 GB, free: 21.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00825/0.3581, allocations: 2.504 MB / 0.5389 GB, free: 20.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3585, allocations: 138.2 kB / 0.539 GB, free: 20.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009956/0.3685, allocations: 7.408 MB / 0.5463 GB, free: 19.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.3686, allocations: 16.06 kB / 0.5463 GB, free: 19.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3688, allocations: 135.4 kB / 0.5464 GB, free: 19.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01675/0.3856, allocations: 14.16 MB / 0.5602 GB, free: 11.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.3857, allocations: 12 kB / 0.5602 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005125/0.3908, allocations: 2.284 MB / 0.5625 GB, free: 9.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.391, allocations: 43.77 kB / 0.5625 GB, free: 9.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.3912, allocations: 145.2 kB / 0.5627 GB, free: 9.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.3934, allocations: 1.185 MB / 0.5638 GB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3934, allocations: 0 / 0.5638 GB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3934, allocations: 0 / 0.5638 GB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3934, allocations: 0 / 0.5638 GB, free: 8.332 MB / 378.7 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.001904/0.3953, allocations: 0.9048 MB / 0.5647 GB, free: 7.379 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3954, allocations: 12.03 kB / 0.5647 GB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.3959, allocations: 76.59 kB / 0.5648 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3961, allocations: 244 kB / 0.565 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3962, allocations: 16.94 kB / 0.565 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.3962, allocations: 28.38 kB / 0.5651 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.397, allocations: 481.6 kB / 0.5655 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3971, allocations: 4 kB / 0.5655 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.3971, allocations: 12 kB / 0.5655 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.3971, allocations: 7.938 kB / 0.5655 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.3979, allocations: 0.6774 MB / 0.5662 GB, free: 5.766 MB / 378.7 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.005533/0.4035, allocations: 3.125 MB / 0.5692 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.4041, allocations: 216.2 kB / 0.5695 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.4042, allocations: 69.39 kB / 0.5695 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07616/0.4803, allocations: 33.48 MB / 0.6022 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/0.4811, allocations: 345.8 kB / 0.6025 GB, free: 13.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.206e-06/0.4812, allocations: 0 / 0.6025 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002619/0.4838, allocations: 0.8663 MB / 0.6034 GB, free: 12.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002371/0.4841, allocations: 483.6 kB / 0.6039 GB, free: 11.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.4842, allocations: 151.4 kB / 0.604 GB, free: 11.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.4843, allocations: 33.7 kB / 0.604 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4844, allocations: 159.9 kB / 0.6042 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.4845, allocations: 130.2 kB / 0.6043 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.4846, allocations: 8 kB / 0.6043 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4847, allocations: 330.8 kB / 0.6046 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.4848, allocations: 73.02 kB / 0.6047 GB, free: 11.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4851, allocations: 305.9 kB / 0.605 GB, free: 10.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.4857, allocations: 437.5 kB / 0.6054 GB, free: 10.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.4857, allocations: 0 / 0.6054 GB, free: 10.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006725/0.4863, allocations: 409.3 kB / 0.6058 GB, free: 9.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4864, allocations: 8 kB / 0.6058 GB, free: 9.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4864, allocations: 8 kB / 0.6058 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.4864, allocations: 15.98 kB / 0.6058 GB, free: 9.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4882, allocations: 263.9 kB / 0.6061 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/0.4889, allocations: 1.188 MB / 0.6072 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.4891, allocations: 19.84 kB / 0.6073 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.4892, allocations: 35.98 kB / 0.6073 GB, free: 8.109 MB / 426.7 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.4894, allocations: 157.8 kB / 0.6074 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/0.4894, allocations: 31.8 kB / 0.6075 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4908, allocations: 0.9624 MB / 0.6084 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.4908, allocations: 12.14 kB / 0.6084 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/0.4909, allocations: 8 kB / 0.6084 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.4909, allocations: 0 / 0.6084 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.4925, allocations: 1.422 MB / 0.6098 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4926, allocations: 4 kB / 0.6098 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.4936, allocations: 151.9 kB / 0.61 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.4936, allocations: 4 kB / 0.61 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.4936, allocations: 8 kB / 0.61 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003061/0.494, allocations: 0.5976 MB / 0.6106 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.494, allocations: 0 / 0.6106 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/0.4946, allocations: 0.5198 MB / 0.6111 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.4948, allocations: 212.1 kB / 0.6113 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.4949, allocations: 11.94 kB / 0.6113 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.4952, allocations: 27.86 kB / 0.6113 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.4952, allocations: 19.92 kB / 0.6113 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.4952, allocations: 19.98 kB / 0.6114 GB, free: 3.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.4955, allocations: 267.1 kB / 0.6116 GB, free: 3.418 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4955, allocations: 0 / 0.6116 GB, free: 3.418 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001539/0.4971, allocations: 467.6 kB / 0.6121 GB, free: 2.961 MB / 426.7 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001872/0.499, allocations: 0.6859 MB / 0.6127 GB, free: 2.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5005, allocations: 397.8 kB / 0.6131 GB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5005, allocations: 0 / 0.6131 GB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007663/0.5013, allocations: 221.5 kB / 0.6133 GB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.5021, allocations: 97.88 kB / 0.6134 GB, free: 1.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.288/1.791, allocations: 0.5352 GB / 1.149 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/1.791, allocations: 0.8195 MB / 1.149 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/1.791, allocations: 44.95 kB / 1.149 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/1.791, allocations: 3.938 kB / 1.149 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.01411/1.805, allocations: 13.05 MB / 1.162 GB, free: 90.75 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches