Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 97.73 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.001369/0.001369, allocations: 199.9 kB / 16.91 MB, free: 6.188 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.669/1.669, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.4123/0.4123, allocations: 43.49 MB / 313.6 MB, free: 8.547 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.001434/0.001434, allocations: 67.89 kB / 382.2 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1663, allocations: 57.8 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01844/0.1848, allocations: 11.24 MB / 451.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.4983, allocations: 14.2 MB / 465.5 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4985, allocations: 2.844 kB / 465.5 MB, free: 35.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.4989, allocations: 56.42 kB / 465.5 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008925/0.5078, allocations: 2.765 MB / 468.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.5082, allocations: 142.7 kB / 468.4 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.5133, allocations: 4.191 MB / 472.6 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.283e-05/0.5134, allocations: 22.67 kB / 472.6 MB, free: 34.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.5136, allocations: 146.2 kB / 472.8 MB, free: 34.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009375/0.523, allocations: 7.73 MB / 480.5 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.5231, allocations: 8.812 kB / 480.5 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007608/0.5307, allocations: 2.375 MB / 482.9 MB, free: 32.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.5309, allocations: 50.34 kB / 482.9 MB, free: 32.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.5312, allocations: 127.8 kB / 483.1 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.5375, allocations: 1.721 MB / 484.8 MB, free: 31.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5375, allocations: 4 kB / 484.8 MB, free: 31.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5376, allocations: 3.938 kB / 484.8 MB, free: 31.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.5376, allocations: 1.125 kB / 484.8 MB, free: 31.45 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.002757/0.5403, allocations: 0.9666 MB / 485.8 MB, free: 30.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.5404, allocations: 13.3 kB / 485.8 MB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006451/0.5411, allocations: 78.06 kB / 485.8 MB, free: 30.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.5414, allocations: 249.3 kB / 486.1 MB, free: 30.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.5414, allocations: 20.06 kB / 486.1 MB, free: 30.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.5415, allocations: 26.38 kB / 486.1 MB, free: 30.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.5426, allocations: 484.4 kB / 486.6 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.5426, allocations: 3.938 kB / 486.6 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.5427, allocations: 16.05 kB / 486.6 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5427, allocations: 7.094 kB / 486.6 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.5442, allocations: 0.6841 MB / 487.3 MB, free: 30.13 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.007323/0.5515, allocations: 3.126 MB / 490.4 MB, free: 28.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.5522, allocations: 214.3 kB / 490.7 MB, free: 28.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.5524, allocations: 77.95 kB / 490.7 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08157/0.6339, allocations: 33.65 MB / 0.5121 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/0.6347, allocations: 334.2 kB / 0.5124 GB, free: 4.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.6347, allocations: 0 / 0.5124 GB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002446/0.6371, allocations: 0.8647 MB / 0.5133 GB, free: 3.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.6373, allocations: 486.6 kB / 0.5137 GB, free: 3.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.6374, allocations: 156.4 kB / 0.5139 GB, free: 2.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.6374, allocations: 29.7 kB / 0.5139 GB, free: 2.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.6375, allocations: 164 kB / 0.5141 GB, free: 2.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/0.6376, allocations: 130.1 kB / 0.5142 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.6377, allocations: 90.16 kB / 0.5143 GB, free: 2.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.6378, allocations: 338.8 kB / 0.5146 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.6379, allocations: 66.53 kB / 0.5146 GB, free: 2.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.6381, allocations: 305.3 kB / 0.5149 GB, free: 1.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.6385, allocations: 445.5 kB / 0.5154 GB, free: 1.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6385, allocations: 0 / 0.5154 GB, free: 1.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005262/0.639, allocations: 399.9 kB / 0.5157 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.639, allocations: 17.66 kB / 0.5158 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6391, allocations: 11.94 kB / 0.5158 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.6391, allocations: 12 kB / 0.5158 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.6408, allocations: 340.7 kB / 0.5161 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006108/0.6415, allocations: 1.191 MB / 0.5173 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.6417, allocations: 23.12 kB / 0.5173 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.582e-05/0.6418, allocations: 31.98 kB / 0.5173 GB, free: 15.05 MB / 398.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 (55): * Single equations (assignments): 53 * 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 {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.642, allocations: 161.6 kB / 0.5175 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-05/0.642, allocations: 27.72 kB / 0.5175 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6433, allocations: 0.9546 MB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6434, allocations: 4 kB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6434, allocations: 4 kB / 0.5184 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6434, allocations: 7.984 kB / 0.5185 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.6449, allocations: 1.429 MB / 0.5198 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6449, allocations: 7.938 kB / 0.5199 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.646, allocations: 149.7 kB / 0.52 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.646, allocations: 4 kB / 0.52 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.646, allocations: 8 kB / 0.52 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003081/0.6463, allocations: 0.5821 MB / 0.5206 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6463, allocations: 12.06 kB / 0.5206 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.647, allocations: 0.5109 MB / 0.5211 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.6471, allocations: 100.9 kB / 0.5212 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.6472, allocations: 51.36 kB / 0.5212 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.6474, allocations: 12 kB / 0.5212 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.6475, allocations: 23.97 kB / 0.5213 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.6475, allocations: 12 kB / 0.5213 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003063/0.6478, allocations: 275.1 kB / 0.5215 GB, free: 10.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6478, allocations: 0 / 0.5215 GB, free: 10.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002179/0.65, allocations: 463.6 kB / 0.522 GB, free: 10.03 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001603/0.6516, allocations: 0.6926 MB / 0.5227 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.6532, allocations: 418.3 kB / 0.5231 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.6532, allocations: 0 / 0.5231 GB, free: 8.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007753/0.654, allocations: 217.5 kB / 0.5233 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.6548, allocations: 135.7 kB / 0.5234 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.427/2.082, allocations: 0.5371 GB / 1.06 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/2.082, allocations: 0.8274 MB / 1.061 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005203/2.083, allocations: 165.2 kB / 1.061 GB, free: 110.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/2.083, allocations: 39.2 kB / 1.061 GB, free: 110.9 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/2.083, allocations: 0 / 1.061 GB, free: 110.9 MB / 494.1 MB Notification: Performance of Templates: time 0.01803/2.101, allocations: 15.71 MB / 1.077 GB, free: 96.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches