Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001142, allocations: 94.95 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5905/0.5905, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005346, allocations: 16 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.86 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.3337/0.4668, allocations: 11.78 MB / 0.4902 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.036/0.5028, allocations: 22.41 MB / 0.5121 GB, free: 26.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.5033, allocations: 0 / 0.5121 GB, free: 26.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.5037, allocations: 74.86 kB / 0.5122 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02979/0.5335, allocations: 6.716 MB / 0.5188 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.5348, allocations: 306.4 kB / 0.519 GB, free: 23.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00817/0.543, allocations: 3.04 MB / 0.522 GB, free: 22.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.5432, allocations: 23.38 kB / 0.522 GB, free: 22.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.5439, allocations: 276.7 kB / 0.5223 GB, free: 22.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01446/0.5583, allocations: 5.563 MB / 0.5277 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.5585, allocations: 6.188 kB / 0.5277 GB, free: 22.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03316/0.5916, allocations: 11.45 MB / 0.5389 GB, free: 19.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.5918, allocations: 45.09 kB / 0.539 GB, free: 19.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.592, allocations: 78.86 kB / 0.539 GB, free: 19.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01466/0.6067, allocations: 4.499 MB / 0.5434 GB, free: 17.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.738e-06/0.6068, allocations: 0 / 0.5434 GB, free: 17.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.6068, allocations: 0 / 0.5434 GB, free: 17.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.6068, allocations: 0 / 0.5434 GB, free: 17.95 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008164/0.615, allocations: 1.541 MB / 0.5449 GB, free: 16.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.615, allocations: 7.75 kB / 0.5449 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.6172, allocations: 191.2 kB / 0.5451 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.6177, allocations: 274.3 kB / 0.5454 GB, free: 16.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.6178, allocations: 24.38 kB / 0.5454 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.6179, allocations: 27.72 kB / 0.5454 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/0.621, allocations: 0.7518 MB / 0.5462 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6211, allocations: 5.562 kB / 0.5462 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.6211, allocations: 15.19 kB / 0.5462 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6212, allocations: 10.47 kB / 0.5462 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/0.6242, allocations: 0.8136 MB / 0.547 GB, free: 15.59 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.004582/0.6289, allocations: 2.712 MB / 0.5496 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.6307, allocations: 355.9 kB / 0.55 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018/1.649, allocations: 142.5 MB / 0.6891 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.651, allocations: 442.3 kB / 0.6895 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.557e-06/1.651, allocations: 0 / 0.6895 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.005892/1.657, allocations: 1.114 MB / 0.6906 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.657, allocations: 378.6 kB / 0.691 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/1.657, allocations: 182.1 kB / 0.6912 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/1.657, allocations: 31.17 kB / 0.6912 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/1.658, allocations: 263.7 kB / 0.6914 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/1.658, allocations: 112.7 kB / 0.6916 GB, free: 144 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/1.658, allocations: 8.969 kB / 0.6916 GB, free: 144 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/1.658, allocations: 331.5 kB / 0.6919 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/1.658, allocations: 80.09 kB / 0.692 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/1.658, allocations: 344.9 kB / 0.6923 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/1.659, allocations: 124.9 kB / 0.6924 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.659, allocations: 3.188 kB / 0.6924 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001209/1.66, allocations: 468.7 kB / 0.6929 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/1.66, allocations: 8.719 kB / 0.6929 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.66, allocations: 9.125 kB / 0.6929 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.579e-05/1.66, allocations: 11.94 kB / 0.6929 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.663, allocations: 213.6 kB / 0.6931 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/1.664, allocations: 1.19 MB / 0.6942 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/1.664, allocations: 27.72 kB / 0.6943 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-05/1.664, allocations: 42.73 kB / 0.6943 GB, free: 142.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.0002702/1.665, allocations: 166.3 kB / 0.6945 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.065e-05/1.665, allocations: 26.39 kB / 0.6945 GB, free: 142 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/1.669, allocations: 2.877 MB / 0.6973 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/1.669, allocations: 24.84 kB / 0.6973 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.669, allocations: 7.344 kB / 0.6973 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/1.669, allocations: 5.344 kB / 0.6973 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/1.67, allocations: 0.9696 MB / 0.6983 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.671, allocations: 3.219 kB / 0.6983 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.672, allocations: 97.56 kB / 0.6984 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/1.672, allocations: 166 kB / 0.6985 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/1.672, allocations: 15.89 kB / 0.6986 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004069/1.672, allocations: 0.6399 MB / 0.6992 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.672, allocations: 10.58 kB / 0.6992 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.674, allocations: 1.104 MB / 0.7003 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/1.675, allocations: 344.1 kB / 0.7006 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/1.675, allocations: 10.84 kB / 0.7006 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.675, allocations: 25.16 kB / 0.7006 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/1.676, allocations: 40.81 kB / 0.7007 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/1.676, allocations: 16.5 kB / 0.7007 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007704/1.676, allocations: 465.7 kB / 0.7011 GB, free: 140 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.91e-07/1.676, allocations: 0 / 0.7011 GB, free: 140 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00765/1.684, allocations: 1.618 MB / 0.7027 GB, free: 139.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01536/1.699, allocations: 1.853 MB / 0.7045 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002404/1.702, allocations: 0.54 MB / 0.7051 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.702, allocations: 0.8125 kB / 0.7051 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/1.703, allocations: 357.3 kB / 0.7054 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/1.704, allocations: 124 kB / 0.7055 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/1.709, allocations: 2.63 MB / 0.7081 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/1.71, allocations: 1.001 MB / 0.7091 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003321/1.71, allocations: 62.2 kB / 0.7091 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.272e-06/1.71, allocations: 0 / 0.7091 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.09383/1.804, allocations: 42.19 MB / 0.7503 GB, free: 107.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches