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.001289/0.001289, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001358/0.001358, allocations: 183.9 kB / 18.7 MB, free: 4.371 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.527/1.527, 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.2308/0.2308, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.365, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01898/0.384, allocations: 13.82 MB / 0.5324 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03354/0.4176, allocations: 26.6 MB / 0.5584 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.418, allocations: 4 kB / 0.5584 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.4185, allocations: 87.45 kB / 0.5585 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0289/0.4474, allocations: 8.543 MB / 0.5668 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4486, allocations: 346.3 kB / 0.5672 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005269/0.4539, allocations: 2.002 MB / 0.5691 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.454, allocations: 12.41 kB / 0.5691 GB, free: 8.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000604/0.4546, allocations: 274.8 kB / 0.5694 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007061/0.4617, allocations: 3.25 MB / 0.5726 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.4617, allocations: 12 kB / 0.5726 GB, free: 4.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02587/0.4876, allocations: 11.62 MB / 0.5839 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.4878, allocations: 55.69 kB / 0.584 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.4881, allocations: 139.3 kB / 0.5841 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01977/0.5079, allocations: 6.733 MB / 0.5907 GB, free: 2.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.5079, allocations: 4 kB / 0.5907 GB, free: 2.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.165e-06/0.5079, allocations: 0 / 0.5907 GB, free: 2.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.508, allocations: 4 kB / 0.5907 GB, free: 2.359 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.005759/0.5137, allocations: 1.607 MB / 0.5923 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5138, allocations: 12.03 kB / 0.5923 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.5154, allocations: 188.5 kB / 0.5925 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.5158, allocations: 275.8 kB / 0.5927 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5159, allocations: 21.03 kB / 0.5927 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.5159, allocations: 36.12 kB / 0.5928 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/0.5182, allocations: 0.7564 MB / 0.5935 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.5182, allocations: 0 / 0.5935 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.5183, allocations: 16 kB / 0.5935 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.5183, allocations: 12 kB / 0.5935 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.5206, allocations: 0.8176 MB / 0.5943 GB, free: 14.49 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.003613/0.5242, allocations: 2.703 MB / 0.597 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5254, allocations: 354.4 kB / 0.5973 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5256, allocations: 68.81 kB / 0.5974 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6958/1.221, allocations: 142.7 MB / 0.7368 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/1.223, allocations: 446.8 kB / 0.7372 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/1.223, allocations: 3 kB / 0.7372 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003864/1.227, allocations: 1.123 MB / 0.7383 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/1.227, allocations: 373 kB / 0.7386 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/1.227, allocations: 190.7 kB / 0.7388 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/1.227, allocations: 31.11 kB / 0.7388 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/1.227, allocations: 194.3 kB / 0.739 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/1.227, allocations: 110.2 kB / 0.7391 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.227, allocations: 126.8 kB / 0.7393 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/1.227, allocations: 330.5 kB / 0.7396 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/1.228, allocations: 78.22 kB / 0.7396 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003253/1.228, allocations: 345.4 kB / 0.74 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/1.228, allocations: 486.4 kB / 0.7404 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.228, allocations: 6.688 kB / 0.7404 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009278/1.229, allocations: 466.8 kB / 0.7409 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.229, allocations: 12.22 kB / 0.7409 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.229, allocations: 10.47 kB / 0.7409 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/1.23, allocations: 16.22 kB / 0.7409 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.231, allocations: 207.8 kB / 0.7411 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003867/1.231, allocations: 1.194 MB / 0.7423 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/1.232, allocations: 28.81 kB / 0.7423 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/1.232, allocations: 38.12 kB / 0.7424 GB, free: 163 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.0001627/1.232, allocations: 167.7 kB / 0.7425 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/1.232, allocations: 24.5 kB / 0.7425 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.235, allocations: 2.823 MB / 0.7453 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.235, allocations: 18.02 kB / 0.7453 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.235, allocations: 3.125 kB / 0.7453 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.235, allocations: 3.812 kB / 0.7453 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/1.235, allocations: 0.9668 MB / 0.7463 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.235, allocations: 3.312 kB / 0.7463 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/1.236, allocations: 106.7 kB / 0.7464 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/1.236, allocations: 160.4 kB / 0.7465 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.236, allocations: 11.38 kB / 0.7465 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000251/1.236, allocations: 0.6475 MB / 0.7472 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.236, allocations: 3.812 kB / 0.7472 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009903/1.237, allocations: 0.9704 MB / 0.7481 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/1.238, allocations: 136.7 kB / 0.7482 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/1.238, allocations: 90.62 kB / 0.7483 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/1.238, allocations: 16.91 kB / 0.7484 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/1.238, allocations: 38.25 kB / 0.7484 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.238, allocations: 15.19 kB / 0.7484 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004778/1.238, allocations: 471.6 kB / 0.7489 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.238, allocations: 3.125 kB / 0.7489 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004358/1.243, allocations: 1.612 MB / 0.7504 GB, free: 160.5 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.006273/1.249, allocations: 1.86 MB / 0.7522 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.251, allocations: 0.5444 MB / 0.7528 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.251, allocations: 4 kB / 0.7528 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/1.251, allocations: 365.8 kB / 0.7531 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/1.252, allocations: 130.9 kB / 0.7533 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6839/1.936, allocations: 347.7 MB / 1.093 GB, free: 99.45 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/1.936, allocations: 0.9883 MB / 1.094 GB, free: 98.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006702/1.937, allocations: 0.504 MB / 1.094 GB, free: 97.96 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.937, allocations: 59.39 kB / 1.094 GB, free: 97.9 MB / 0.6075 GB Notification: Performance of SimCode: time 1.062e-06/1.937, allocations: 0 / 1.094 GB, free: 97.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.06124/1.998, allocations: 58.56 MB / 1.152 GB, free: 39.38 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