Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,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_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001726/0.001726, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 202.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.12 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 83.84 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3279, allocations: 62.45 MB / 0.5318 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01383/0.3418, allocations: 11.3 MB / 0.5428 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.3559, allocations: 11.8 MB / 0.5543 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.3561, allocations: 4 kB / 0.5543 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.3565, allocations: 67.5 kB / 0.5544 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.3665, allocations: 3.12 MB / 0.5575 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.3669, allocations: 154.7 kB / 0.5576 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005737/0.3727, allocations: 3.912 MB / 0.5614 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.3728, allocations: 16.34 kB / 0.5614 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.373, allocations: 147.5 kB / 0.5616 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009832/0.3828, allocations: 7.149 MB / 0.5686 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.3829, allocations: 8 kB / 0.5686 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.3884, allocations: 2.135 MB / 0.5707 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.3885, allocations: 47.77 kB / 0.5707 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3887, allocations: 123.4 kB / 0.5708 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.3916, allocations: 1.547 MB / 0.5723 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3916, allocations: 0 / 0.5723 GB, free: 8.031 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3916, allocations: 4 kB / 0.5723 GB, free: 8.027 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3916, allocations: 0 / 0.5723 GB, free: 8.027 MB / 430.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.002221/0.3938, allocations: 0.9413 MB / 0.5732 GB, free: 7.035 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3938, allocations: 12.03 kB / 0.5733 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.3944, allocations: 84.66 kB / 0.5733 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.3948, allocations: 244 kB / 0.5736 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.3948, allocations: 20.94 kB / 0.5736 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.726e-05/0.3949, allocations: 32.31 kB / 0.5736 GB, free: 6.613 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.3958, allocations: 485.6 kB / 0.5741 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3959, allocations: 4 kB / 0.5741 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.3959, allocations: 16 kB / 0.5741 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3959, allocations: 4 kB / 0.5741 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.3971, allocations: 0.689 MB / 0.5748 GB, free: 5.391 MB / 430.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.007538/0.4046, allocations: 4.296 MB / 0.579 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.4052, allocations: 163.1 kB / 0.5791 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.4053, allocations: 57.47 kB / 0.5792 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/0.4357, allocations: 16.41 MB / 0.5952 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007595/0.4364, allocations: 322 kB / 0.5955 GB, free: 13.48 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.309e-05/0.4364, allocations: 0 / 0.5955 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001446/0.4379, allocations: 441 kB / 0.5959 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.4381, allocations: 484.3 kB / 0.5964 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.4383, allocations: 186.1 kB / 0.5966 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.4384, allocations: 33.7 kB / 0.5966 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.4385, allocations: 192.1 kB / 0.5968 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.4386, allocations: 103.1 kB / 0.5969 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.4387, allocations: 90.08 kB / 0.597 GB, free: 11.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4388, allocations: 338.8 kB / 0.5973 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.439, allocations: 60.84 kB / 0.5974 GB, free: 11.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.4393, allocations: 314.7 kB / 0.5977 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.4398, allocations: 429.3 kB / 0.5981 GB, free: 10.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.4398, allocations: 7.938 kB / 0.5981 GB, free: 10.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007005/0.4405, allocations: 401.4 kB / 0.5985 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4405, allocations: 14.17 kB / 0.5985 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4405, allocations: 11.98 kB / 0.5985 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.4406, allocations: 12 kB / 0.5985 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.4409, allocations: 103.8 kB / 0.5986 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.4409, allocations: 19.92 kB / 0.5986 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4412, allocations: 51.61 kB / 0.5987 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.4412, allocations: 28 kB / 0.5987 GB, free: 9.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.4414, allocations: 162 kB / 0.5988 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.4415, allocations: 27.86 kB / 0.5989 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.4425, allocations: 0.782 MB / 0.5996 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4425, allocations: 8 kB / 0.5996 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4425, allocations: 4 kB / 0.5996 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.4425, allocations: 12.08 kB / 0.5997 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.4438, allocations: 1.217 MB / 0.6008 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4438, allocations: 0 / 0.6008 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.4439, allocations: 39.92 kB / 0.6009 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.4439, allocations: 3.938 kB / 0.6009 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.444, allocations: 7.984 kB / 0.6009 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.444, allocations: 8.094 kB / 0.6009 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.444, allocations: 4 kB / 0.6009 GB, free: 7.379 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.4444, allocations: 371.7 kB / 0.6013 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.4445, allocations: 108.9 kB / 0.6014 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.4446, allocations: 43.56 kB / 0.6014 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.4448, allocations: 11.98 kB / 0.6014 GB, free: 6.789 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.4448, allocations: 23.92 kB / 0.6014 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.4449, allocations: 8 kB / 0.6014 GB, free: 6.758 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.4452, allocations: 294.9 kB / 0.6017 GB, free: 6.469 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4452, allocations: 4 kB / 0.6017 GB, free: 6.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001286/0.4465, allocations: 426.6 kB / 0.6021 GB, free: 6.047 MB / 462.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.4478, allocations: 0.6363 MB / 0.6028 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004304/0.4482, allocations: 230.6 kB / 0.603 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4482, allocations: 0 / 0.603 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.4483, allocations: 71.84 kB / 0.603 GB, free: 5.109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000771/0.4491, allocations: 118.3 kB / 0.6032 GB, free: 5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.446/1.895, allocations: 0.579 GB / 1.182 GB, free: 222.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/1.895, allocations: 0.8046 MB / 1.183 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004325/1.896, allocations: 175.4 kB / 1.183 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/1.896, allocations: 37.58 kB / 1.183 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.192e-06/1.896, allocations: 0 / 1.183 GB, free: 221.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.01751/1.913, allocations: 14.35 MB / 1.197 GB, free: 209.5 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_ph/ReferenceAir_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches