Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.0007962, allocations: 90.59 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008601/0.0008602, allocations: 199.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.8 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2111/0.2111, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 8 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1373, allocations: 63.57 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01841/0.1558, allocations: 14.24 MB / 497.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3135/0.4694, allocations: 27.82 MB / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.4697, allocations: 3.5 kB / 0.5129 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.4701, allocations: 85.48 kB / 0.513 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02612/0.4962, allocations: 6.839 MB / 0.5197 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.4973, allocations: 318.1 kB / 0.52 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004472/0.5018, allocations: 2.037 MB / 0.522 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.5019, allocations: 19.42 kB / 0.522 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.5024, allocations: 258.6 kB / 0.5223 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005922/0.5083, allocations: 3.274 MB / 0.5254 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.444e-05/0.5084, allocations: 8.031 kB / 0.5255 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02876/0.5372, allocations: 11.51 MB / 0.5367 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.5374, allocations: 40.56 kB / 0.5367 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.5377, allocations: 163.2 kB / 0.5369 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02001/0.5578, allocations: 6.756 MB / 0.5435 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5578, allocations: 0 / 0.5435 GB, free: 2.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5578, allocations: 4 kB / 0.5435 GB, free: 2.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5578, allocations: 0 / 0.5435 GB, free: 2.703 MB / 382.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.005184/0.563, allocations: 1.551 MB / 0.545 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5631, allocations: 12.88 kB / 0.545 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.472e-05/0.5632, allocations: 70.72 kB / 0.5451 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.5646, allocations: 188.4 kB / 0.5453 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.5649, allocations: 268.5 kB / 0.5455 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.565, allocations: 28.97 kB / 0.5456 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.565, allocations: 31.94 kB / 0.5456 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.567, allocations: 0.7603 MB / 0.5463 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.567, allocations: 0.7031 kB / 0.5463 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.5671, allocations: 12 kB / 0.5463 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5671, allocations: 12 kB / 0.5463 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.5693, allocations: 0.8176 MB / 0.5471 GB, free: 15.05 MB / 398.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.003428/0.5727, allocations: 2.713 MB / 0.5498 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.5739, allocations: 354.3 kB / 0.5501 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.5741, allocations: 72.83 kB / 0.5502 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.387/0.9611, allocations: 147.4 MB / 0.6941 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.9625, allocations: 446.6 kB / 0.6945 GB, free: 11.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 5.08e-06/0.9625, allocations: 3.984 kB / 0.6945 GB, free: 11.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003933/0.9664, allocations: 1.12 MB / 0.6956 GB, free: 10.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.9666, allocations: 371.8 kB / 0.696 GB, free: 10.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.9668, allocations: 178.2 kB / 0.6962 GB, free: 9.918 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.9669, allocations: 33.7 kB / 0.6962 GB, free: 9.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.967, allocations: 190.6 kB / 0.6964 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.946e-05/0.9671, allocations: 118.5 kB / 0.6965 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.9672, allocations: 41.7 kB / 0.6965 GB, free: 9.531 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9673, allocations: 334.8 kB / 0.6968 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.9674, allocations: 81 kB / 0.6969 GB, free: 9.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.9678, allocations: 351 kB / 0.6973 GB, free: 8.645 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.9684, allocations: 481.1 kB / 0.6977 GB, free: 8.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.9684, allocations: 4 kB / 0.6977 GB, free: 8.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000801/0.9692, allocations: 471.9 kB / 0.6982 GB, free: 7.578 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9692, allocations: 8 kB / 0.6982 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.9692, allocations: 12 kB / 0.6982 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.9693, allocations: 12 kB / 0.6982 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.9708, allocations: 207.7 kB / 0.6984 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000607/0.9714, allocations: 1.196 MB / 0.6996 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.9718, allocations: 23.94 kB / 0.6996 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.9718, allocations: 43.98 kB / 0.6996 GB, free: 6.039 MB / 0.545 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.0001893/0.972, allocations: 165.8 kB / 0.6998 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.9721, allocations: 27.72 kB / 0.6998 GB, free: 5.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.9751, allocations: 2.834 MB / 0.7026 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.9752, allocations: 23.97 kB / 0.7026 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.9752, allocations: 7.938 kB / 0.7026 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.9752, allocations: 11.92 kB / 0.7026 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.9763, allocations: 0.9654 MB / 0.7036 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.9763, allocations: 4 kB / 0.7036 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.9769, allocations: 96.27 kB / 0.7037 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.9771, allocations: 169.2 kB / 0.7038 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.9772, allocations: 15.98 kB / 0.7038 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004035/0.9776, allocations: 0.6444 MB / 0.7045 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9776, allocations: 7.938 kB / 0.7045 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/1.229, allocations: 0.9687 MB / 0.7054 GB, free: 208.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/1.23, allocations: 346.7 kB / 0.7057 GB, free: 208.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.23, allocations: 15.48 kB / 0.7058 GB, free: 208.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.231, allocations: 19.98 kB / 0.7058 GB, free: 208.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/1.231, allocations: 30.95 kB / 0.7058 GB, free: 208.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/1.231, allocations: 17.22 kB / 0.7058 GB, free: 208.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008422/1.232, allocations: 471.8 kB / 0.7063 GB, free: 208.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/1.232, allocations: 0.7812 kB / 0.7063 GB, free: 208.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005403/1.237, allocations: 1.62 MB / 0.7079 GB, free: 208.1 MB / 0.545 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.01142/1.249, allocations: 3.138 MB / 0.7109 GB, free: 207.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001919/1.25, allocations: 0.538 MB / 0.7115 GB, free: 207.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.251, allocations: 2.281 kB / 0.7115 GB, free: 207.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006762/1.251, allocations: 364 kB / 0.7118 GB, free: 207.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.253, allocations: 130.2 kB / 0.7119 GB, free: 207.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7139/1.966, allocations: 353.3 MB / 1.057 GB, free: 64.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/1.967, allocations: 0.9819 MB / 1.058 GB, free: 63.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007905/1.968, allocations: 0.505 MB / 1.058 GB, free: 63.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/1.968, allocations: 322.9 kB / 1.059 GB, free: 62.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/1.968, allocations: 0 / 1.059 GB, free: 62.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4096/2.378, allocations: 65.94 MB / 1.123 GB, free: 169.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/2.378, allocations: 253.4 kB / 1.123 GB, free: 169.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.015/8.393, allocations: 1.5 kB / 1.123 GB, free: 169.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches