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.001045/0.001045, allocations: 109.3 kB / 18.45 MB, free: 4.602 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.0009784/0.0009785, allocations: 183 kB / 19.38 MB, free: 3.684 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.263/1.263, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.1976/0.1976, allocations: 44.17 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3479, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01548/0.3635, allocations: 13.81 MB / 0.5331 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02904/0.3925, allocations: 26.6 MB / 0.5591 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.3928, allocations: 0 / 0.5591 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004159/0.3933, allocations: 91.39 kB / 0.5592 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02603/0.4194, allocations: 8.546 MB / 0.5675 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.4204, allocations: 350.3 kB / 0.5678 GB, free: 10.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004413/0.4248, allocations: 1.994 MB / 0.5698 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.679e-05/0.4249, allocations: 16.41 kB / 0.5698 GB, free: 8.496 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.4255, allocations: 270.8 kB / 0.5701 GB, free: 8.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006477/0.4319, allocations: 3.258 MB / 0.5732 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.432, allocations: 12 kB / 0.5733 GB, free: 4.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02286/0.4549, allocations: 11.6 MB / 0.5846 GB, free: 9.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.455, allocations: 55.69 kB / 0.5846 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002093/0.4552, allocations: 131.4 kB / 0.5848 GB, free: 9.105 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01961/0.4749, allocations: 6.749 MB / 0.5914 GB, free: 2.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4749, allocations: 0 / 0.5914 GB, free: 2.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4749, allocations: 0 / 0.5914 GB, free: 2.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4749, allocations: 0 / 0.5914 GB, free: 2.344 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.00506/0.48, allocations: 1.61 MB / 0.5929 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.48, allocations: 12.03 kB / 0.5929 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.4815, allocations: 184.5 kB / 0.5931 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.482, allocations: 275.8 kB / 0.5934 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.482, allocations: 21.03 kB / 0.5934 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.482, allocations: 36.12 kB / 0.5934 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.4841, allocations: 0.7526 MB / 0.5942 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.4841, allocations: 7.938 kB / 0.5942 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.4842, allocations: 23.94 kB / 0.5942 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4842, allocations: 8 kB / 0.5942 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.4862, allocations: 0.8137 MB / 0.595 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.003124/0.4894, allocations: 2.71 MB / 0.5977 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.4905, allocations: 338.4 kB / 0.598 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.4906, allocations: 76.81 kB / 0.598 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6675/1.158, allocations: 142.7 MB / 0.7374 GB, free: 195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/1.16, allocations: 439 kB / 0.7378 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/1.16, allocations: 4.844 kB / 0.7378 GB, free: 194.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003883/1.163, allocations: 1.121 MB / 0.7389 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/1.164, allocations: 374.1 kB / 0.7393 GB, free: 193.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/1.164, allocations: 183.9 kB / 0.7395 GB, free: 193.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/1.164, allocations: 31.8 kB / 0.7395 GB, free: 193.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/1.164, allocations: 191.9 kB / 0.7397 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/1.164, allocations: 108 kB / 0.7398 GB, free: 193.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/1.164, allocations: 127.9 kB / 0.7399 GB, free: 193.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/1.164, allocations: 331 kB / 0.7402 GB, free: 192.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/1.164, allocations: 80.66 kB / 0.7403 GB, free: 192.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/1.165, allocations: 347.1 kB / 0.7406 GB, free: 192.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/1.165, allocations: 484.1 kB / 0.7411 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.165, allocations: 2.312 kB / 0.7411 GB, free: 191.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007882/1.166, allocations: 473.5 kB / 0.7416 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.166, allocations: 9.625 kB / 0.7416 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.166, allocations: 8.969 kB / 0.7416 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.166, allocations: 12.81 kB / 0.7416 GB, free: 191.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.168, allocations: 211.1 kB / 0.7418 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005359/1.168, allocations: 1.189 MB / 0.7429 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/1.168, allocations: 22.41 kB / 0.743 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/1.169, allocations: 42.14 kB / 0.743 GB, free: 190.3 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.0001792/1.169, allocations: 172.2 kB / 0.7432 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/1.169, allocations: 25.53 kB / 0.7432 GB, free: 190.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/1.172, allocations: 2.819 MB / 0.7459 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/1.172, allocations: 24.69 kB / 0.746 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.172, allocations: 8.281 kB / 0.746 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/1.172, allocations: 2.844 kB / 0.746 GB, free: 188.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/1.172, allocations: 0.9694 MB / 0.7469 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.172, allocations: 2.844 kB / 0.7469 GB, free: 187.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/1.173, allocations: 104.3 kB / 0.747 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/1.173, allocations: 156.2 kB / 0.7472 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/1.173, allocations: 19.98 kB / 0.7472 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002777/1.174, allocations: 0.6317 MB / 0.7478 GB, free: 187.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.174, allocations: 10.38 kB / 0.7478 GB, free: 187 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009712/1.174, allocations: 0.9751 MB / 0.7488 GB, free: 186.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/1.175, allocations: 137.2 kB / 0.7489 GB, free: 186.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.175, allocations: 93.19 kB / 0.749 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/1.175, allocations: 15.23 kB / 0.749 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/1.175, allocations: 31.81 kB / 0.749 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/1.175, allocations: 17.69 kB / 0.7491 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004648/1.176, allocations: 471.2 kB / 0.7495 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.176, allocations: 0 / 0.7495 GB, free: 185.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005267/1.181, allocations: 1.611 MB / 0.7511 GB, free: 184.7 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.00718/1.188, allocations: 1.869 MB / 0.7529 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.19, allocations: 0.5378 MB / 0.7534 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.19, allocations: 4.312 kB / 0.7534 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/1.19, allocations: 369.7 kB / 0.7538 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008641/1.191, allocations: 134.7 kB / 0.7539 GB, free: 182 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6726/1.864, allocations: 347.8 MB / 1.094 GB, free: 77.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/1.864, allocations: 0.982 MB / 1.094 GB, free: 76.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.864, allocations: 61.84 kB / 1.095 GB, free: 76.21 MB / 0.5919 GB Notification: Performance of SimCode: time 7.71e-07/1.864, allocations: 0 / 1.095 GB, free: 76.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.05241/1.917, allocations: 37.61 MB / 1.131 GB, free: 38.61 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/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