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.0009703/0.0009703, allocations: 198.4 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.5 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00079/0.0007899, allocations: 105 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3642/0.3642, allocations: 44.83 MB / 392.9 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003202, allocations: 11.98 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4062, allocations: 62.95 MB / 0.5165 GB, free: 36.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.584, allocations: 0.5463 GB / 1.063 GB, free: 59.45 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.584, allocations: 87.94 kB / 1.063 GB, free: 59.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5733/2.157, allocations: 106.4 MB / 1.167 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.494e-06/2.157, allocations: 0 / 1.167 GB, free: 172.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.555e-05/2.157, allocations: 3.938 kB / 1.167 GB, free: 172.9 MB / 0.5417 GB 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.003781/2.161, allocations: 1.026 MB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/2.161, allocations: 7.844 kB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/2.162, allocations: 73.25 kB / 1.168 GB, free: 172.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/2.162, allocations: 258.7 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/2.162, allocations: 20.69 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/2.162, allocations: 27.78 kB / 1.168 GB, free: 171.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009109/2.163, allocations: 484.1 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/2.163, allocations: 4.094 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/2.163, allocations: 11.94 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/2.163, allocations: 7.812 kB / 1.169 GB, free: 171.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009727/2.164, allocations: 0.6786 MB / 1.169 GB, free: 171.5 MB / 0.5417 GB 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.00837/2.172, allocations: 4.152 MB / 1.173 GB, free: 169.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/2.173, allocations: 214.6 kB / 1.174 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/2.173, allocations: 71.39 kB / 1.174 GB, free: 169.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07751/2.251, allocations: 41.6 MB / 1.214 GB, free: 131.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/2.252, allocations: 325.2 kB / 1.215 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 2.444e-06/2.252, allocations: 0 / 1.215 GB, free: 131.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=34): time 0.00226/2.254, allocations: 0.8005 MB / 1.215 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/2.254, allocations: 419.2 kB / 1.216 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/2.254, allocations: 163 kB / 1.216 GB, free: 129.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/2.254, allocations: 33.7 kB / 1.216 GB, free: 129.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.238e-05/2.254, allocations: 171.8 kB / 1.216 GB, free: 129.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.24e-05/2.254, allocations: 118.3 kB / 1.216 GB, free: 129.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/2.254, allocations: 12.06 kB / 1.216 GB, free: 129.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.882e-05/2.254, allocations: 330.8 kB / 1.217 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/2.254, allocations: 61.94 kB / 1.217 GB, free: 129.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/2.255, allocations: 310.1 kB / 1.217 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/2.255, allocations: 440 kB / 1.217 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.255, allocations: 3.938 kB / 1.217 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006227/2.256, allocations: 397 kB / 1.218 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/2.256, allocations: 8 kB / 1.218 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/2.256, allocations: 8 kB / 1.218 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/2.256, allocations: 12 kB / 1.218 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/2.258, allocations: 263 kB / 1.218 GB, free: 127.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005051/2.258, allocations: 1.188 MB / 1.219 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/2.258, allocations: 23.94 kB / 1.219 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/2.258, allocations: 31.98 kB / 1.219 GB, free: 126.2 MB / 0.5417 GB 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.0001649/2.259, allocations: 153.7 kB / 1.219 GB, free: 126.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/2.259, allocations: 31.66 kB / 1.219 GB, free: 126 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/2.26, allocations: 0.9708 MB / 1.22 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/2.26, allocations: 15.98 kB / 1.22 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.26, allocations: 0 / 1.22 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/2.26, allocations: 7.984 kB / 1.22 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/2.283, allocations: 12.27 MB / 1.232 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/2.283, allocations: 4 kB / 1.232 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/2.284, allocations: 135.8 kB / 1.232 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/2.284, allocations: 4 kB / 1.232 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/2.284, allocations: 15.98 kB / 1.232 GB, free: 111.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000229/2.285, allocations: 0.586 MB / 1.233 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.285, allocations: 4 kB / 1.233 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/2.285, allocations: 0.532 MB / 1.234 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/2.285, allocations: 180.2 kB / 1.234 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/2.285, allocations: 8 kB / 1.234 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/2.286, allocations: 19.89 kB / 1.234 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/2.286, allocations: 23.91 kB / 1.234 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/2.286, allocations: 19.94 kB / 1.234 GB, free: 110 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001957/2.286, allocations: 211.2 kB / 1.234 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/2.286, allocations: 3.938 kB / 1.234 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002121/2.288, allocations: 479.4 kB / 1.234 GB, free: 109.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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: 3 * 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.00198/2.29, allocations: 0.8328 MB / 1.235 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001301/2.291, allocations: 392.8 kB / 1.236 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.291, allocations: 4 kB / 1.236 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006469/2.292, allocations: 244.6 kB / 1.236 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/2.293, allocations: 87.33 kB / 1.236 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.697/3.99, allocations: 0.6332 GB / 1.869 GB, free: 79.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/3.99, allocations: 0.8126 MB / 1.87 GB, free: 79.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/3.99, allocations: 51.42 kB / 1.87 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/3.99, allocations: 0 / 1.87 GB, free: 79.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.0156/4.006, allocations: 12.52 MB / 1.882 GB, free: 66.8 MB / 0.5417 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/jenkins1/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