Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 175.3 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007397, allocations: 88.98 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3598/0.3598, allocations: 43.57 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 12 kB / 432 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01003/0.1116, allocations: 10.21 MB / 0.4893 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.195/0.3066, allocations: 13.09 MB / 0.5021 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.3069, allocations: 1.906 kB / 0.5021 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3072, allocations: 55.28 kB / 0.5021 GB, free: 34.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008167/0.3153, allocations: 2.496 MB / 0.5046 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.3157, allocations: 147 kB / 0.5047 GB, free: 33.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008463/0.3242, allocations: 7.408 MB / 0.5119 GB, free: 31.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.3243, allocations: 20.39 kB / 0.512 GB, free: 31.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.3245, allocations: 131.6 kB / 0.5121 GB, free: 31.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01503/0.3395, allocations: 14.16 MB / 0.5259 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.3396, allocations: 7.5 kB / 0.5259 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006318/0.346, allocations: 2.278 MB / 0.5281 GB, free: 29.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.441e-05/0.3461, allocations: 40.97 kB / 0.5282 GB, free: 29.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.3463, allocations: 151 kB / 0.5283 GB, free: 29.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.3488, allocations: 1.178 MB / 0.5295 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3488, allocations: 4 kB / 0.5295 GB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3489, allocations: 0 / 0.5295 GB, free: 28.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3489, allocations: 1.312 kB / 0.5295 GB, free: 28.83 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.002021/0.3509, allocations: 0.9066 MB / 0.5304 GB, free: 28.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3509, allocations: 9.625 kB / 0.5304 GB, free: 28.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005242/0.3515, allocations: 79.3 kB / 0.5305 GB, free: 28.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3517, allocations: 244.6 kB / 0.5307 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.3518, allocations: 24.44 kB / 0.5307 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.3518, allocations: 24.78 kB / 0.5307 GB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.3527, allocations: 478.5 kB / 0.5312 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3527, allocations: 1.312 kB / 0.5312 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.3528, allocations: 18.89 kB / 0.5312 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.3528, allocations: 7.031 kB / 0.5312 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.3538, allocations: 0.6763 MB / 0.5319 GB, free: 27.54 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.005577/0.3593, allocations: 3.127 MB / 0.5349 GB, free: 25.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005158/0.3599, allocations: 213.1 kB / 0.5351 GB, free: 25.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.36, allocations: 73.34 kB / 0.5352 GB, free: 25.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06949/0.4295, allocations: 33.5 MB / 0.5679 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.4303, allocations: 334.5 kB / 0.5682 GB, free: 8.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.507e-06/0.4303, allocations: 0 / 0.5682 GB, free: 8.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.00268/0.433, allocations: 0.8642 MB / 0.5691 GB, free: 7.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002304/0.4332, allocations: 479.1 kB / 0.5695 GB, free: 7.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.4334, allocations: 154.4 kB / 0.5697 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4334, allocations: 29.7 kB / 0.5697 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4335, allocations: 172 kB / 0.5699 GB, free: 6.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.4336, allocations: 126.1 kB / 0.57 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.4337, allocations: 8 kB / 0.57 GB, free: 6.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4338, allocations: 330.8 kB / 0.5703 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4339, allocations: 65.08 kB / 0.5704 GB, free: 6.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.4342, allocations: 304.3 kB / 0.5707 GB, free: 5.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.4346, allocations: 438.1 kB / 0.5711 GB, free: 5.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.4346, allocations: 4 kB / 0.5711 GB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006072/0.4352, allocations: 397.5 kB / 0.5715 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4353, allocations: 15.92 kB / 0.5715 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4353, allocations: 8 kB / 0.5715 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4353, allocations: 12 kB / 0.5715 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.437, allocations: 264.5 kB / 0.5718 GB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005483/0.4375, allocations: 1.195 MB / 0.5729 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.4378, allocations: 20 kB / 0.5729 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.4378, allocations: 28 kB / 0.573 GB, free: 3.445 MB / 394.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.000157/0.438, allocations: 165.8 kB / 0.5731 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.4381, allocations: 27.72 kB / 0.5732 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4393, allocations: 0.9594 MB / 0.5741 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4393, allocations: 11.98 kB / 0.5741 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4393, allocations: 0.875 kB / 0.5741 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4393, allocations: 8.203 kB / 0.5741 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/0.4408, allocations: 1.429 MB / 0.5755 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4408, allocations: 0 / 0.5755 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009841/0.4418, allocations: 149 kB / 0.5757 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.4418, allocations: 4 kB / 0.5757 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.4419, allocations: 12 kB / 0.5757 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002832/0.4422, allocations: 0.586 MB / 0.5762 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.4422, allocations: 11.88 kB / 0.5763 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.4427, allocations: 0.508 MB / 0.5768 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.4429, allocations: 220 kB / 0.577 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.4429, allocations: 15.06 kB / 0.577 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4432, allocations: 19.98 kB / 0.577 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.4433, allocations: 19.98 kB / 0.577 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4433, allocations: 11.98 kB / 0.577 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.4436, allocations: 271.1 kB / 0.5773 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4436, allocations: 0 / 0.5773 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001524/0.4451, allocations: 463.6 kB / 0.5777 GB, free: 14.33 MB / 410.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.001687/0.4468, allocations: 0.6943 MB / 0.5784 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4482, allocations: 397.8 kB / 0.5788 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4482, allocations: 0 / 0.5788 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007443/0.449, allocations: 223.2 kB / 0.579 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.4497, allocations: 114.5 kB / 0.5791 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.137/1.587, allocations: 0.5351 GB / 1.114 GB, free: 99.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/1.587, allocations: 0.8235 MB / 1.115 GB, free: 98.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.587, allocations: 43.42 kB / 1.115 GB, free: 98.76 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/1.587, allocations: 3.828 kB / 1.115 GB, free: 98.76 MB / 490.7 MB Notification: Performance of Templates: time 0.0153/1.603, allocations: 13.04 MB / 1.128 GB, free: 85.8 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_pT/ReferenceAir_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches