Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2275/0.2275, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.178, allocations: 63.46 MB / 481.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT): time 0.01235/0.1905, allocations: 7.5 MB / 488.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0184/0.2089, allocations: 11.38 MB / 0.4885 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002779/0.2093, allocations: 0 / 0.4885 GB, free: 2.492 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.2097, allocations: 55.73 kB / 0.4886 GB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00964/0.2193, allocations: 2.597 MB / 0.4911 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.2197, allocations: 146.8 kB / 0.4913 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009611/0.2294, allocations: 7.145 MB / 0.4982 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2295, allocations: 24.39 kB / 0.4983 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.2298, allocations: 131.6 kB / 0.4984 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2867/0.5165, allocations: 13.83 MB / 0.5119 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.5166, allocations: 10.34 kB / 0.5119 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/0.5286, allocations: 2.419 MB / 0.5143 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.5288, allocations: 41 kB / 0.5143 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.529, allocations: 69.95 kB / 0.5144 GB, free: 25.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.5336, allocations: 1.15 MB / 0.5155 GB, free: 25.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5336, allocations: 5.188 kB / 0.5155 GB, free: 25.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.5336, allocations: 0 / 0.5155 GB, free: 25.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.5336, allocations: 0 / 0.5155 GB, free: 25.54 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.004153/0.5378, allocations: 0.9064 MB / 0.5164 GB, free: 24.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.5379, allocations: 8.688 kB / 0.5164 GB, free: 24.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5389, allocations: 78.55 kB / 0.5165 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.5393, allocations: 244.3 kB / 0.5167 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.5394, allocations: 20.14 kB / 0.5167 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.5394, allocations: 24.59 kB / 0.5168 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.5409, allocations: 480.9 kB / 0.5172 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5409, allocations: 0 / 0.5172 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.541, allocations: 13.91 kB / 0.5172 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.541, allocations: 7.859 kB / 0.5172 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.5424, allocations: 0.6791 MB / 0.5179 GB, free: 24.62 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.007375/0.5497, allocations: 3.144 MB / 0.521 GB, free: 22.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.5507, allocations: 214.7 kB / 0.5212 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07403/0.6248, allocations: 31.47 MB / 0.5519 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007514/0.6256, allocations: 338.4 kB / 0.5522 GB, free: 12.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.933e-06/0.6256, allocations: 0 / 0.5522 GB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002517/0.6281, allocations: 0.8524 MB / 0.5531 GB, free: 11.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/0.6283, allocations: 484.7 kB / 0.5535 GB, free: 10.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.6285, allocations: 155.6 kB / 0.5537 GB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.133e-05/0.6285, allocations: 36.27 kB / 0.5537 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.6286, allocations: 160.2 kB / 0.5539 GB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.6287, allocations: 131.6 kB / 0.554 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.6288, allocations: 10.62 kB / 0.554 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6289, allocations: 332.7 kB / 0.5543 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.629, allocations: 65.27 kB / 0.5544 GB, free: 10.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.6293, allocations: 305.7 kB / 0.5547 GB, free: 9.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.6295, allocations: 117.1 kB / 0.5548 GB, free: 9.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6295, allocations: 0 / 0.5548 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000604/0.6301, allocations: 394 kB / 0.5552 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.6302, allocations: 12 kB / 0.5552 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6302, allocations: 8 kB / 0.5552 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.6302, allocations: 12 kB / 0.5552 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.6319, allocations: 268.2 kB / 0.5554 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006741/0.6326, allocations: 1.192 MB / 0.5566 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.6329, allocations: 18.62 kB / 0.5566 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.6329, allocations: 27.25 kB / 0.5567 GB, free: 7.828 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 (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.0001726/0.6331, allocations: 164 kB / 0.5568 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.6332, allocations: 31.83 kB / 0.5568 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.6345, allocations: 0.9773 MB / 0.5578 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.6345, allocations: 7.984 kB / 0.5578 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6345, allocations: 4 kB / 0.5578 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.6345, allocations: 0 / 0.5578 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.636, allocations: 1.429 MB / 0.5592 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.636, allocations: 4 kB / 0.5592 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.637, allocations: 152.8 kB / 0.5593 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.405e-06/0.637, allocations: 4 kB / 0.5594 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6371, allocations: 7.125 kB / 0.5594 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003042/0.6374, allocations: 0.5913 MB / 0.5599 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6374, allocations: 7.984 kB / 0.5599 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.638, allocations: 0.6218 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.6382, allocations: 223.7 kB / 0.5608 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.6382, allocations: 7.875 kB / 0.5608 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.6385, allocations: 18.73 kB / 0.5608 GB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.6386, allocations: 27.67 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.6386, allocations: 15.5 kB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002758/0.6389, allocations: 272.1 kB / 0.5611 GB, free: 3.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6389, allocations: 0 / 0.5611 GB, free: 3.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002163/0.641, allocations: 469.4 kB / 0.5615 GB, free: 3.383 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 (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.001691/0.6427, allocations: 0.6861 MB / 0.5622 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.6442, allocations: 390.9 kB / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6442, allocations: 0 / 0.5626 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007276/0.645, allocations: 226.4 kB / 0.5628 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.6456, allocations: 89.83 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.6472, allocations: 1.282 MB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6476, allocations: 0.839 MB / 0.565 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.6481, allocations: 162.1 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.548e-05/0.6482, allocations: 41.92 kB / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6482, allocations: 0 / 0.5651 GB, free: 60 kB / 398.1 MB Notification: Performance of Templates: time 0.02248/0.6707, allocations: 14.72 MB / 0.5795 GB, free: 1.5 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches