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.00133/0.001331, allocations: 113.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.001355/0.001355, allocations: 181.1 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.272/1.272, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.1998/0.1998, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 63.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 60.82 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01743/0.3865, allocations: 13.83 MB / 0.5331 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03265/0.4192, allocations: 26.59 MB / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.4196, allocations: 0 / 0.5591 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.4202, allocations: 99.38 kB / 0.5592 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03094/0.4511, allocations: 8.53 MB / 0.5675 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.4526, allocations: 354.1 kB / 0.5678 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004646/0.4573, allocations: 1.994 MB / 0.5698 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.4574, allocations: 16.41 kB / 0.5698 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.458, allocations: 270.8 kB / 0.5701 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/0.4639, allocations: 3.262 MB / 0.5732 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.464, allocations: 8 kB / 0.5733 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02388/0.4879, allocations: 11.6 MB / 0.5846 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.488, allocations: 59.67 kB / 0.5846 GB, free: 9.273 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.4883, allocations: 139.3 kB / 0.5848 GB, free: 9.137 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.5075, allocations: 6.737 MB / 0.5914 GB, free: 2.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5075, allocations: 0 / 0.5914 GB, free: 2.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5076, allocations: 4 kB / 0.5914 GB, free: 2.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5076, allocations: 0 / 0.5914 GB, free: 2.383 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.005041/0.5126, allocations: 1.607 MB / 0.5929 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.5127, allocations: 16.03 kB / 0.5929 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.5142, allocations: 184.5 kB / 0.5931 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.5146, allocations: 275.8 kB / 0.5934 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.5147, allocations: 29.03 kB / 0.5934 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.5147, allocations: 32.12 kB / 0.5934 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.5169, allocations: 0.7564 MB / 0.5942 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5169, allocations: 4 kB / 0.5942 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.5169, allocations: 19.94 kB / 0.5942 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.517, allocations: 8 kB / 0.5942 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.5191, allocations: 0.8215 MB / 0.595 GB, free: 14.5 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.00343/0.5226, allocations: 2.703 MB / 0.5976 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5238, allocations: 342.4 kB / 0.598 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.5239, allocations: 72.91 kB / 0.598 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7048/1.229, allocations: 142.7 MB / 0.7374 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.23, allocations: 446.5 kB / 0.7378 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.235e-06/1.23, allocations: 0 / 0.7378 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32): time 0.003791/1.234, allocations: 1.114 MB / 0.7389 GB, free: 166 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/1.234, allocations: 374.3 kB / 0.7393 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/1.234, allocations: 191.5 kB / 0.7395 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/1.234, allocations: 31.73 kB / 0.7395 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.453e-05/1.234, allocations: 199.3 kB / 0.7397 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/1.234, allocations: 111.6 kB / 0.7398 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.235, allocations: 125.4 kB / 0.7399 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/1.235, allocations: 330.8 kB / 0.7402 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/1.235, allocations: 76.58 kB / 0.7403 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/1.235, allocations: 352.1 kB / 0.7406 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/1.236, allocations: 485.5 kB / 0.7411 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.236, allocations: 2.5 kB / 0.7411 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000756/1.236, allocations: 463.6 kB / 0.7415 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.237, allocations: 9.906 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.237, allocations: 12.47 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.237, allocations: 13.94 kB / 0.7416 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.238, allocations: 213.5 kB / 0.7418 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003845/1.238, allocations: 1.188 MB / 0.7429 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/1.239, allocations: 23.16 kB / 0.743 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/1.239, allocations: 43.69 kB / 0.743 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.0001645/1.239, allocations: 170.3 kB / 0.7432 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/1.239, allocations: 26.48 kB / 0.7432 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/1.241, allocations: 2.817 MB / 0.7459 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.241, allocations: 17.91 kB / 0.746 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/1.241, allocations: 7.906 kB / 0.746 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/1.241, allocations: 3.719 kB / 0.746 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/1.242, allocations: 0.9689 MB / 0.7469 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/1.242, allocations: 7.406 kB / 0.7469 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005154/1.243, allocations: 98.47 kB / 0.747 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/1.243, allocations: 159.2 kB / 0.7472 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/1.243, allocations: 13.02 kB / 0.7472 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002647/1.243, allocations: 0.6416 MB / 0.7478 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.243, allocations: 6.25 kB / 0.7478 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009857/1.244, allocations: 0.9755 MB / 0.7488 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/1.244, allocations: 132.2 kB / 0.7489 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.244, allocations: 88.72 kB / 0.749 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/1.245, allocations: 17.03 kB / 0.749 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/1.245, allocations: 36.56 kB / 0.749 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/1.245, allocations: 17.62 kB / 0.7491 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004556/1.245, allocations: 473.3 kB / 0.7495 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.112e-06/1.245, allocations: 0 / 0.7495 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004704/1.25, allocations: 1.612 MB / 0.7511 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.007023/1.257, allocations: 1.866 MB / 0.7529 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.259, allocations: 0.5424 MB / 0.7534 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.259, allocations: 0 / 0.7534 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004529/1.259, allocations: 359.9 kB / 0.7538 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/1.26, allocations: 137.3 kB / 0.7539 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7038/1.964, allocations: 347.8 MB / 1.094 GB, free: 99.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.965, allocations: 0.9915 MB / 1.095 GB, free: 98.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/1.965, allocations: 59.41 kB / 1.095 GB, free: 98.32 MB / 0.6075 GB Notification: Performance of SimCode: time 1.824e-06/1.965, allocations: 0 / 1.095 GB, free: 98.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.04429/2.009, allocations: 37.6 MB / 1.131 GB, free: 60.74 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/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