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.0007993/0.0007993, allocations: 94.25 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.0009405/0.0009406, allocations: 197.9 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.165/1.165, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1644/0.1644, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002096/0.0002097, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08662, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01329/0.09994, allocations: 14.24 MB / 497.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1911/0.2911, allocations: 27.82 MB / 0.5129 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.2913, allocations: 2.578 kB / 0.5129 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.2916, allocations: 85.16 kB / 0.513 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01569/0.3073, allocations: 6.839 MB / 0.5197 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.308, allocations: 315.2 kB / 0.52 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.3113, allocations: 2.036 MB / 0.522 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.3113, allocations: 20.12 kB / 0.522 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.3117, allocations: 258 kB / 0.5222 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.3166, allocations: 3.271 MB / 0.5254 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3166, allocations: 7.938 kB / 0.5255 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01869/0.3353, allocations: 11.5 MB / 0.5367 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.3354, allocations: 51.41 kB / 0.5367 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.3356, allocations: 163.3 kB / 0.5369 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.3472, allocations: 6.754 MB / 0.5435 GB, free: 2.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3473, allocations: 0 / 0.5435 GB, free: 2.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3473, allocations: 0 / 0.5435 GB, free: 2.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3473, allocations: 0 / 0.5435 GB, free: 2.57 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.003708/0.351, allocations: 1.557 MB / 0.545 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.351, allocations: 12.88 kB / 0.545 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.3511, allocations: 70.28 kB / 0.5451 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3524, allocations: 188.5 kB / 0.5453 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3526, allocations: 272.6 kB / 0.5455 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3526, allocations: 21.22 kB / 0.5455 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.3527, allocations: 35.94 kB / 0.5456 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3544, allocations: 0.7564 MB / 0.5463 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3544, allocations: 0 / 0.5463 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.3545, allocations: 12.84 kB / 0.5463 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.3545, allocations: 8 kB / 0.5463 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3564, allocations: 0.8176 MB / 0.5471 GB, free: 14.92 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.00297/0.3594, allocations: 2.717 MB / 0.5498 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3604, allocations: 354.3 kB / 0.5501 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.3606, allocations: 73.69 kB / 0.5502 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3315/0.6921, allocations: 147.4 MB / 0.6941 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.6933, allocations: 442.6 kB / 0.6945 GB, free: 11.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.6933, allocations: 0 / 0.6945 GB, free: 11.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.003368/0.6967, allocations: 1.12 MB / 0.6956 GB, free: 10.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6968, allocations: 371.9 kB / 0.696 GB, free: 9.969 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.697, allocations: 182.3 kB / 0.6962 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.697, allocations: 29.7 kB / 0.6962 GB, free: 9.746 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.6971, allocations: 190.8 kB / 0.6964 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.6972, allocations: 113.3 kB / 0.6965 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.6973, allocations: 45.7 kB / 0.6965 GB, free: 9.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.6974, allocations: 330.8 kB / 0.6968 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.6975, allocations: 85.06 kB / 0.6969 GB, free: 8.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.6978, allocations: 351.4 kB / 0.6972 GB, free: 8.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.6983, allocations: 488.7 kB / 0.6977 GB, free: 7.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.6983, allocations: 4 kB / 0.6977 GB, free: 7.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007155/0.699, allocations: 469.3 kB / 0.6982 GB, free: 7.445 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6991, allocations: 12 kB / 0.6982 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.6991, allocations: 10.12 kB / 0.6982 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.6991, allocations: 12 kB / 0.6982 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.7006, allocations: 211.7 kB / 0.6984 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005031/0.7011, allocations: 1.195 MB / 0.6996 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.7014, allocations: 23.94 kB / 0.6996 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.7014, allocations: 35.98 kB / 0.6996 GB, free: 5.906 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.0001564/0.7016, allocations: 169.5 kB / 0.6998 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.7016, allocations: 31.66 kB / 0.6998 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.7043, allocations: 2.834 MB / 0.7026 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/0.7044, allocations: 19.97 kB / 0.7026 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.7044, allocations: 7.984 kB / 0.7026 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7044, allocations: 11.92 kB / 0.7026 GB, free: 2.816 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008322/0.7052, allocations: 0.9625 MB / 0.7036 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7052, allocations: 4 kB / 0.7036 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.7057, allocations: 108.2 kB / 0.7037 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/0.706, allocations: 166.4 kB / 0.7038 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.706, allocations: 11.98 kB / 0.7038 GB, free: 1.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003397/0.7063, allocations: 0.6382 MB / 0.7045 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7064, allocations: 8.031 kB / 0.7045 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1502/0.8565, allocations: 0.9721 MB / 0.7054 GB, free: 207.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.8569, allocations: 346.5 kB / 0.7057 GB, free: 207.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.857, allocations: 11.55 kB / 0.7058 GB, free: 207.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.8574, allocations: 25.84 kB / 0.7058 GB, free: 207.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.059e-05/0.8575, allocations: 32.38 kB / 0.7058 GB, free: 207.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.8575, allocations: 17.47 kB / 0.7058 GB, free: 207.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005481/0.8581, allocations: 472 kB / 0.7063 GB, free: 207.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8581, allocations: 0 / 0.7063 GB, free: 207.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003763/0.8618, allocations: 1.619 MB / 0.7079 GB, free: 207.7 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.007187/0.869, allocations: 3.134 MB / 0.7109 GB, free: 206.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8703, allocations: 0.5403 MB / 0.7115 GB, free: 206.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.8703, allocations: 1.375 kB / 0.7115 GB, free: 206.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.8707, allocations: 369.2 kB / 0.7118 GB, free: 206.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8717, allocations: 127.7 kB / 0.7119 GB, free: 206.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5142/1.386, allocations: 353.3 MB / 1.057 GB, free: 64.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/1.386, allocations: 0.9858 MB / 1.058 GB, free: 63.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006774/1.387, allocations: 0.5011 MB / 1.058 GB, free: 63.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/1.387, allocations: 323.3 kB / 1.059 GB, free: 62.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/1.387, allocations: 4 kB / 1.059 GB, free: 62.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2433/1.631, allocations: 65.96 MB / 1.123 GB, free: 168.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.631, allocations: 249.4 kB / 1.123 GB, free: 168.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.848/6.479, allocations: 2.344 kB / 1.123 GB, free: 168.7 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