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.0009091/0.0009092, allocations: 203.4 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007341/0.0007341, allocations: 92.28 kB / 295.1 MB, free: 4.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 44.83 MB / 392 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 464.7 MB, free: 68.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1007, allocations: 62.97 MB / 0.5153 GB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.008285/0.109, allocations: 10.21 MB / 0.5253 GB, free: 10.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009492/0.1185, allocations: 10.78 MB / 0.5358 GB, free: 72 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1187, allocations: 4 kB / 0.5358 GB, free: 68 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.119, allocations: 55.69 kB / 0.5359 GB, free: 12 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.1255, allocations: 2.449 MB / 0.5383 GB, free: 13.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1259, allocations: 139 kB / 0.5384 GB, free: 13.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007638/0.1336, allocations: 7.412 MB / 0.5457 GB, free: 6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.1336, allocations: 12.41 kB / 0.5457 GB, free: 5.988 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1338, allocations: 139.5 kB / 0.5458 GB, free: 5.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.231/0.3648, allocations: 14.16 MB / 0.5596 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.3649, allocations: 8.906 kB / 0.5596 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005031/0.3699, allocations: 2.207 MB / 0.5618 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.37, allocations: 42.38 kB / 0.5618 GB, free: 24.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.3701, allocations: 72.86 kB / 0.5619 GB, free: 24.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.3721, allocations: 1.152 MB / 0.563 GB, free: 24.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3721, allocations: 0 / 0.563 GB, free: 24.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3722, allocations: 0 / 0.563 GB, free: 24.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3722, allocations: 0 / 0.563 GB, free: 24.41 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.001868/0.374, allocations: 0.906 MB / 0.5639 GB, free: 23.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3741, allocations: 12.06 kB / 0.5639 GB, free: 23.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004916/0.3746, allocations: 74.45 kB / 0.564 GB, free: 23.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.3748, allocations: 255.7 kB / 0.5642 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3749, allocations: 17.97 kB / 0.5642 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.3749, allocations: 26.41 kB / 0.5643 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.3757, allocations: 479.9 kB / 0.5647 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3757, allocations: 3.75 kB / 0.5647 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3758, allocations: 12.72 kB / 0.5647 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.3758, allocations: 6.375 kB / 0.5648 GB, free: 23.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3769, allocations: 0.6776 MB / 0.5654 GB, free: 23.5 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.006357/0.3832, allocations: 3.12 MB / 0.5685 GB, free: 21.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.3838, allocations: 206.8 kB / 0.5687 GB, free: 21.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.384, allocations: 77 kB / 0.5687 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07483/0.4588, allocations: 33.49 MB / 0.6014 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007016/0.4596, allocations: 337 kB / 0.6018 GB, free: 6.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.595e-06/0.4596, allocations: 0 / 0.6018 GB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002454/0.4621, allocations: 0.8605 MB / 0.6026 GB, free: 6.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000221/0.4623, allocations: 478 kB / 0.6031 GB, free: 5.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4624, allocations: 156.5 kB / 0.6032 GB, free: 5.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4625, allocations: 33.52 kB / 0.6032 GB, free: 5.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.4626, allocations: 172.4 kB / 0.6034 GB, free: 5.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.4627, allocations: 127.7 kB / 0.6035 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.4627, allocations: 10.31 kB / 0.6035 GB, free: 5.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4628, allocations: 326 kB / 0.6038 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4629, allocations: 68.2 kB / 0.6039 GB, free: 4.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4632, allocations: 308.3 kB / 0.6042 GB, free: 4.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.4634, allocations: 113.5 kB / 0.6043 GB, free: 4.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4634, allocations: 4 kB / 0.6043 GB, free: 4.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000569/0.464, allocations: 393.6 kB / 0.6047 GB, free: 4.168 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.464, allocations: 8.969 kB / 0.6047 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.464, allocations: 8 kB / 0.6047 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.464, allocations: 19.12 kB / 0.6047 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.4657, allocations: 262.2 kB / 0.605 GB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00055/0.4662, allocations: 1.184 MB / 0.6061 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.4665, allocations: 23.75 kB / 0.6062 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.4665, allocations: 34.23 kB / 0.6062 GB, free: 2.641 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.0001373/0.4666, allocations: 156.8 kB / 0.6063 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.4667, allocations: 32.5 kB / 0.6064 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.4679, allocations: 0.9814 MB / 0.6073 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4679, allocations: 10.11 kB / 0.6073 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4679, allocations: 4 kB / 0.6073 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.468, allocations: 0 / 0.6073 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.4692, allocations: 1.422 MB / 0.6087 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.4692, allocations: 3.984 kB / 0.6087 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009429/0.4701, allocations: 148.8 kB / 0.6089 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4702, allocations: 4 kB / 0.6089 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.4702, allocations: 11.73 kB / 0.6089 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002592/0.4705, allocations: 0.5854 MB / 0.6095 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4705, allocations: 4.031 kB / 0.6095 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.4709, allocations: 0.5183 MB / 0.61 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/0.4711, allocations: 218.5 kB / 0.6102 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.4712, allocations: 9.469 kB / 0.6102 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.4714, allocations: 19.19 kB / 0.6102 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.4715, allocations: 30.31 kB / 0.6102 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.4715, allocations: 11.75 kB / 0.6102 GB, free: 15.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.4718, allocations: 272.5 kB / 0.6105 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4718, allocations: 0 / 0.6105 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001711/0.4735, allocations: 466.3 kB / 0.611 GB, free: 14.37 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.001428/0.4749, allocations: 0.6762 MB / 0.6116 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.4762, allocations: 401.7 kB / 0.612 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4762, allocations: 4.125 kB / 0.612 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.4769, allocations: 233 kB / 0.6122 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.4775, allocations: 105.7 kB / 0.6123 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/1.69, allocations: 0.5352 GB / 1.147 GB, free: 197.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.69, allocations: 0.8269 MB / 1.148 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.69, allocations: 42.88 kB / 1.148 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/1.69, allocations: 0 / 1.148 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.01962/1.71, allocations: 13.04 MB / 1.161 GB, free: 190.8 MB / 0.5261 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