Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 108.8 kB / 17.78 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 180.1 kB / 18.71 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1933/0.1933, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 60.82 MB / 0.519 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01694/0.3839, allocations: 13.82 MB / 0.5324 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03214/0.4161, allocations: 26.6 MB / 0.5584 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.4165, allocations: 0 / 0.5584 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.4172, allocations: 95.38 kB / 0.5585 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02871/0.4459, allocations: 8.534 MB / 0.5668 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.4469, allocations: 350.2 kB / 0.5672 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005354/0.4523, allocations: 2.002 MB / 0.5691 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4524, allocations: 20.34 kB / 0.5692 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.4531, allocations: 262.9 kB / 0.5694 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007635/0.4608, allocations: 3.258 MB / 0.5726 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.4608, allocations: 8 kB / 0.5726 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02379/0.4846, allocations: 11.61 MB / 0.5839 GB, free: 9.285 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.4848, allocations: 47.7 kB / 0.584 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.485, allocations: 143.3 kB / 0.5841 GB, free: 9.098 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02012/0.5052, allocations: 6.754 MB / 0.5907 GB, free: 2.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5052, allocations: 0 / 0.5907 GB, free: 2.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5052, allocations: 0 / 0.5907 GB, free: 2.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.5052, allocations: 4 kB / 0.5907 GB, free: 2.324 MB / 446.1 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.004949/0.5102, allocations: 1.666 MB / 0.5923 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5103, allocations: 8.031 kB / 0.5923 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.5118, allocations: 188.6 kB / 0.5925 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.5122, allocations: 275.8 kB / 0.5928 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.5122, allocations: 21.03 kB / 0.5928 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.5123, allocations: 36.12 kB / 0.5928 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.5144, allocations: 0.7564 MB / 0.5936 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5144, allocations: 0 / 0.5936 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.5144, allocations: 16 kB / 0.5936 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.5144, allocations: 8 kB / 0.5936 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.5165, allocations: 0.8254 MB / 0.5944 GB, free: 14.39 MB / 462.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.003128/0.5196, allocations: 2.699 MB / 0.597 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.5208, allocations: 346.3 kB / 0.5974 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.5209, allocations: 76.8 kB / 0.5975 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6501/1.171, allocations: 142.7 MB / 0.7368 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/1.172, allocations: 445.6 kB / 0.7373 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/1.172, allocations: 0 / 0.7373 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003779/1.176, allocations: 1.137 MB / 0.7384 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.176, allocations: 381.8 kB / 0.7387 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/1.177, allocations: 187.2 kB / 0.7389 GB, free: 165 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/1.177, allocations: 32.55 kB / 0.739 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/1.177, allocations: 191.7 kB / 0.7391 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/1.177, allocations: 117.4 kB / 0.7392 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/1.177, allocations: 125.2 kB / 0.7394 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/1.177, allocations: 337.7 kB / 0.7397 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/1.177, allocations: 78.52 kB / 0.7398 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/1.177, allocations: 348.6 kB / 0.7401 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/1.178, allocations: 483.8 kB / 0.7406 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.178, allocations: 3.562 kB / 0.7406 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007187/1.179, allocations: 469.3 kB / 0.741 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.179, allocations: 10.31 kB / 0.741 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/1.179, allocations: 10.31 kB / 0.741 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.179, allocations: 16.8 kB / 0.741 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.18, allocations: 211.9 kB / 0.7412 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003686/1.181, allocations: 1.192 MB / 0.7424 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/1.181, allocations: 21.48 kB / 0.7424 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/1.181, allocations: 43.19 kB / 0.7425 GB, free: 162.5 MB / 0.5762 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001526/1.181, allocations: 160.7 kB / 0.7426 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/1.181, allocations: 33.17 kB / 0.7427 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.183, allocations: 2.833 MB / 0.7454 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.184, allocations: 28.88 kB / 0.7455 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.184, allocations: 4.875 kB / 0.7455 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.184, allocations: 6.797 kB / 0.7455 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/1.184, allocations: 0.973 MB / 0.7464 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.184, allocations: 6.156 kB / 0.7464 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/1.185, allocations: 97.23 kB / 0.7465 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/1.185, allocations: 161.4 kB / 0.7467 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.185, allocations: 15.8 kB / 0.7467 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002471/1.185, allocations: 0.6408 MB / 0.7473 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.185, allocations: 3.688 kB / 0.7473 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009862/1.186, allocations: 0.9786 MB / 0.7483 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/1.186, allocations: 136.7 kB / 0.7484 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.186, allocations: 94.94 kB / 0.7485 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/1.187, allocations: 17.72 kB / 0.7485 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/1.187, allocations: 37.58 kB / 0.7485 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.187, allocations: 14.19 kB / 0.7486 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004573/1.187, allocations: 471.1 kB / 0.749 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.002e-06/1.187, allocations: 0 / 0.749 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004244/1.192, allocations: 1.632 MB / 0.7506 GB, free: 160.2 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006579/1.198, allocations: 1.879 MB / 0.7524 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001608/1.2, allocations: 0.5348 MB / 0.753 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.2, allocations: 0.8125 kB / 0.753 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003891/1.2, allocations: 373.8 kB / 0.7533 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008576/1.201, allocations: 130.8 kB / 0.7534 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6615/1.863, allocations: 348 MB / 1.093 GB, free: 99.04 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.863, allocations: 0.982 MB / 1.094 GB, free: 98.03 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006808/1.864, allocations: 0.5103 MB / 1.095 GB, free: 97.54 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/1.864, allocations: 55.41 kB / 1.095 GB, free: 97.48 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/1.864, allocations: 0 / 1.095 GB, free: 97.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.06251/1.926, allocations: 58.56 MB / 1.152 GB, free: 38.96 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches