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.001148/0.001148, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 77.41 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0167/0.1221, allocations: 13.92 MB / 494.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.3419, allocations: 26.59 MB / 0.5084 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3421, allocations: 3.688 kB / 0.5084 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3425, allocations: 92.41 kB / 0.5085 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01983/0.3623, allocations: 8.544 MB / 0.5169 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.3633, allocations: 350 kB / 0.5172 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004243/0.3676, allocations: 1.996 MB / 0.5192 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.3676, allocations: 15.94 kB / 0.5192 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.3681, allocations: 271.9 kB / 0.5194 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006519/0.3746, allocations: 3.252 MB / 0.5226 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3747, allocations: 17.38 kB / 0.5226 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/0.3954, allocations: 11.34 MB / 0.5337 GB, free: 5.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3956, allocations: 51.98 kB / 0.5338 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3958, allocations: 131.8 kB / 0.5339 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.41, allocations: 6.777 MB / 0.5405 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.41, allocations: 0 / 0.5405 GB, free: 1.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.41, allocations: 0 / 0.5405 GB, free: 1.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.41, allocations: 0 / 0.5405 GB, free: 1.172 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.004691/0.4147, allocations: 1.619 MB / 0.5421 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4148, allocations: 12.03 kB / 0.5421 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.4149, allocations: 66.72 kB / 0.5422 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.4163, allocations: 188.5 kB / 0.5423 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.4166, allocations: 275.9 kB / 0.5426 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4167, allocations: 21.22 kB / 0.5426 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.4167, allocations: 35.94 kB / 0.5427 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.4187, allocations: 0.7486 MB / 0.5434 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4188, allocations: 3.938 kB / 0.5434 GB, free: 14.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.4188, allocations: 20 kB / 0.5434 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4188, allocations: 8 kB / 0.5434 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.4208, allocations: 0.8215 MB / 0.5442 GB, free: 13.23 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.003192/0.4241, allocations: 2.705 MB / 0.5469 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4253, allocations: 352.8 kB / 0.5472 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4255, allocations: 68.83 kB / 0.5473 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3646/0.7901, allocations: 146.1 MB / 0.6899 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.7914, allocations: 453.4 kB / 0.6903 GB, free: 11.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.7914, allocations: 0 / 0.6903 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003768/0.7952, allocations: 1.12 MB / 0.6914 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.7953, allocations: 371.8 kB / 0.6918 GB, free: 9.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.7955, allocations: 183.3 kB / 0.692 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.7955, allocations: 33.64 kB / 0.692 GB, free: 9.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.7957, allocations: 191.6 kB / 0.6922 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.7958, allocations: 112.8 kB / 0.6923 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.7959, allocations: 126.1 kB / 0.6924 GB, free: 8.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.796, allocations: 330.8 kB / 0.6927 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.7962, allocations: 81.06 kB / 0.6928 GB, free: 8.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.7965, allocations: 346.5 kB / 0.6931 GB, free: 8.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.7972, allocations: 482.5 kB / 0.6936 GB, free: 7.445 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7972, allocations: 7.984 kB / 0.6936 GB, free: 7.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008924/0.7981, allocations: 472.6 kB / 0.694 GB, free: 6.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.7981, allocations: 11.98 kB / 0.6941 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.7981, allocations: 12.84 kB / 0.6941 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.7982, allocations: 12 kB / 0.6941 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.7997, allocations: 211.6 kB / 0.6943 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.8004, allocations: 1.184 MB / 0.6954 GB, free: 5.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.8008, allocations: 27.41 kB / 0.6955 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.527e-05/0.8008, allocations: 47.16 kB / 0.6955 GB, free: 5.43 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.0001974/0.801, allocations: 161.8 kB / 0.6957 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.8012, allocations: 27.72 kB / 0.6957 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.8041, allocations: 2.844 MB / 0.6985 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.72e-05/0.8042, allocations: 19.97 kB / 0.6985 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.8042, allocations: 4 kB / 0.6985 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8042, allocations: 11.92 kB / 0.6985 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.8053, allocations: 0.9618 MB / 0.6994 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.8053, allocations: 4 kB / 0.6994 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005609/0.8058, allocations: 96.27 kB / 0.6995 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.8061, allocations: 162.8 kB / 0.6997 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.8061, allocations: 12 kB / 0.6997 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004311/0.8065, allocations: 0.6497 MB / 0.7003 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8066, allocations: 4 kB / 0.7003 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.808, allocations: 0.9754 MB / 0.7013 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.8081, allocations: 128.4 kB / 0.7014 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.8083, allocations: 94.72 kB / 0.7015 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.8086, allocations: 11.98 kB / 0.7015 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.8087, allocations: 39.84 kB / 0.7016 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.8088, allocations: 19.98 kB / 0.7016 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006404/0.8094, allocations: 467 kB / 0.702 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8094, allocations: 0 / 0.702 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005927/0.8154, allocations: 1.62 MB / 0.7036 GB, free: 12.95 MB / 0.5606 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.01043/0.8258, allocations: 3.148 MB / 0.7067 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.8277, allocations: 0.5457 MB / 0.7072 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.8277, allocations: 5.875 kB / 0.7072 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.8282, allocations: 370.1 kB / 0.7076 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.8292, allocations: 136.5 kB / 0.7077 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7572/1.586, allocations: 353.3 MB / 1.053 GB, free: 98.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/1.587, allocations: 0.9874 MB / 1.054 GB, free: 97.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006593/1.587, allocations: 0.5013 MB / 1.054 GB, free: 96.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/1.588, allocations: 323.3 kB / 1.055 GB, free: 96.24 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/1.588, allocations: 0 / 1.055 GB, free: 96.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2967/1.884, allocations: 66.5 MB / 1.119 GB, free: 185.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/16.45, allocations: 9.234 kB / 1.119 GB, free: 185.3 MB / 0.5606 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