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.001769/0.001769, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001938/0.001939, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.461/1.461, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2343/0.2343, allocations: 44.17 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4228, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01927/0.4421, allocations: 13.81 MB / 0.5324 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.4742, allocations: 26.6 MB / 0.5584 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.4745, allocations: 4 kB / 0.5584 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.475, allocations: 87.39 kB / 0.5585 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03015/0.5052, allocations: 8.547 MB / 0.5669 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.5064, allocations: 346.2 kB / 0.5672 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004832/0.5113, allocations: 2.002 MB / 0.5691 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.5114, allocations: 16.41 kB / 0.5692 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/0.512, allocations: 266.8 kB / 0.5694 GB, free: 8.227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00712/0.5191, allocations: 3.254 MB / 0.5726 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.5192, allocations: 12 kB / 0.5726 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02468/0.5439, allocations: 11.61 MB / 0.5839 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.5441, allocations: 51.7 kB / 0.584 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.5445, allocations: 139.3 kB / 0.5841 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02176/0.5662, allocations: 6.741 MB / 0.5907 GB, free: 2.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.5663, allocations: 0 / 0.5907 GB, free: 2.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5663, allocations: 0 / 0.5907 GB, free: 2.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5663, allocations: 0 / 0.5907 GB, free: 2.34 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.005311/0.5716, allocations: 1.611 MB / 0.5923 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.5717, allocations: 8.031 kB / 0.5923 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5733, allocations: 184.5 kB / 0.5925 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.5736, allocations: 283.8 kB / 0.5927 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5737, allocations: 21.03 kB / 0.5927 GB, free: 160 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.5737, allocations: 32.12 kB / 0.5928 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.5759, allocations: 0.7603 MB / 0.5935 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.576, allocations: 0 / 0.5935 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.576, allocations: 15.94 kB / 0.5935 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.576, allocations: 8 kB / 0.5935 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.5782, allocations: 0.8176 MB / 0.5943 GB, free: 14.47 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.003414/0.5816, allocations: 2.71 MB / 0.597 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.5829, allocations: 357.5 kB / 0.5973 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.583, allocations: 72.81 kB / 0.5974 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7636/1.347, allocations: 142.7 MB / 0.7368 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/1.348, allocations: 441.3 kB / 0.7372 GB, free: 166 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.004e-06/1.348, allocations: 0 / 0.7372 GB, free: 166 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.004071/1.352, allocations: 1.124 MB / 0.7383 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.352, allocations: 374.3 kB / 0.7386 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.352, allocations: 187.5 kB / 0.7388 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/1.352, allocations: 35.89 kB / 0.7389 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/1.353, allocations: 193.6 kB / 0.739 GB, free: 165 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/1.353, allocations: 109.4 kB / 0.7391 GB, free: 165 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.353, allocations: 125.2 kB / 0.7393 GB, free: 165 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.278e-05/1.353, allocations: 331.2 kB / 0.7396 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.353, allocations: 83.14 kB / 0.7397 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/1.353, allocations: 345.7 kB / 0.74 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/1.354, allocations: 483.2 kB / 0.7404 GB, free: 164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.354, allocations: 7.812 kB / 0.7405 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007641/1.355, allocations: 466.2 kB / 0.7409 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.355, allocations: 10.5 kB / 0.7409 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.355, allocations: 7.812 kB / 0.7409 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.355, allocations: 18.41 kB / 0.7409 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.356, allocations: 213.9 kB / 0.7411 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/1.357, allocations: 1.185 MB / 0.7423 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/1.357, allocations: 20.03 kB / 0.7423 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/1.357, allocations: 44.89 kB / 0.7424 GB, free: 162.7 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.0001475/1.357, allocations: 173.8 kB / 0.7425 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.885e-05/1.357, allocations: 23.09 kB / 0.7425 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.36, allocations: 2.819 MB / 0.7453 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/1.36, allocations: 23.34 kB / 0.7453 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.36, allocations: 3.969 kB / 0.7453 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.36, allocations: 384 / 0.7453 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008816/1.361, allocations: 0.9809 MB / 0.7463 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.361, allocations: 0 / 0.7463 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/1.361, allocations: 96.31 kB / 0.7464 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/1.362, allocations: 165.8 kB / 0.7465 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.362, allocations: 11.45 kB / 0.7465 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003089/1.362, allocations: 0.6431 MB / 0.7472 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.362, allocations: 8.375 kB / 0.7472 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/1.363, allocations: 0.9712 MB / 0.7481 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/1.363, allocations: 136.4 kB / 0.7483 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.363, allocations: 89.75 kB / 0.7483 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/1.363, allocations: 21.31 kB / 0.7484 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/1.364, allocations: 37.17 kB / 0.7484 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/1.364, allocations: 12.31 kB / 0.7484 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004625/1.364, allocations: 473.1 kB / 0.7489 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.172e-06/1.364, allocations: 0 / 0.7489 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005112/1.369, allocations: 1.617 MB / 0.7504 GB, free: 160.3 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.007525/1.377, allocations: 1.852 MB / 0.7522 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.379, allocations: 0.5412 MB / 0.7528 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.379, allocations: 4 kB / 0.7528 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/1.379, allocations: 366.1 kB / 0.7531 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009548/1.38, allocations: 137.6 kB / 0.7533 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7284/2.108, allocations: 347.7 MB / 1.093 GB, free: 99.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/2.109, allocations: 0.9877 MB / 1.094 GB, free: 98.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007024/2.109, allocations: 0.4988 MB / 1.094 GB, free: 97.89 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/2.11, allocations: 55.41 kB / 1.094 GB, free: 97.84 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/2.11, allocations: 0 / 1.094 GB, free: 97.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.05847/2.168, allocations: 58.56 MB / 1.152 GB, free: 39.31 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