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.001056/0.001056, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 72.66 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1159, allocations: 62.43 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01969/0.1357, allocations: 13.92 MB / 494.1 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2648/0.4005, allocations: 26.59 MB / 0.5084 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.4008, allocations: 2.531 kB / 0.5084 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.4013, allocations: 98.58 kB / 0.5085 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02636/0.4276, allocations: 8.536 MB / 0.5169 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.4288, allocations: 351.6 kB / 0.5172 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004646/0.4335, allocations: 1.997 MB / 0.5192 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.4336, allocations: 19.84 kB / 0.5192 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.4343, allocations: 266.6 kB / 0.5194 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007292/0.4416, allocations: 3.255 MB / 0.5226 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.523e-05/0.4417, allocations: 10.69 kB / 0.5226 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/0.467, allocations: 11.34 MB / 0.5337 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.4672, allocations: 53.91 kB / 0.5338 GB, free: 4.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.4675, allocations: 139.9 kB / 0.5339 GB, free: 4.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02024/0.4877, allocations: 6.774 MB / 0.5405 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4878, allocations: 0 / 0.5405 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4878, allocations: 0 / 0.5405 GB, free: 1.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.4878, allocations: 0 / 0.5405 GB, free: 1.082 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.006238/0.4941, allocations: 1.622 MB / 0.5421 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.4942, allocations: 8.031 kB / 0.5421 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.4942, allocations: 70.72 kB / 0.5422 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.4959, allocations: 184.5 kB / 0.5423 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.4963, allocations: 271.9 kB / 0.5426 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.4963, allocations: 25.22 kB / 0.5426 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.4964, allocations: 34 kB / 0.5426 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.4986, allocations: 0.758 MB / 0.5434 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.4986, allocations: 4 kB / 0.5434 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.4987, allocations: 20 kB / 0.5434 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4987, allocations: 11.47 kB / 0.5434 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/0.5008, allocations: 0.8137 MB / 0.5442 GB, free: 13.18 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.0038/0.5047, allocations: 2.708 MB / 0.5469 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/0.506, allocations: 353.5 kB / 0.5472 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.5061, allocations: 73.61 kB / 0.5473 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.378/0.8841, allocations: 146.1 MB / 0.6899 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.8854, allocations: 446.3 kB / 0.6903 GB, free: 11.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.8855, allocations: 0 / 0.6903 GB, free: 11.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=32): time 0.004307/0.8898, allocations: 1.122 MB / 0.6914 GB, free: 9.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.8899, allocations: 372 kB / 0.6918 GB, free: 9.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.8901, allocations: 186.4 kB / 0.692 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.8902, allocations: 33.69 kB / 0.692 GB, free: 9.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.8903, allocations: 191 kB / 0.6922 GB, free: 9.113 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.8904, allocations: 113.4 kB / 0.6923 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.8906, allocations: 126.1 kB / 0.6924 GB, free: 8.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.8907, allocations: 330.8 kB / 0.6927 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8909, allocations: 81.06 kB / 0.6928 GB, free: 8.461 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.8912, allocations: 346.7 kB / 0.6931 GB, free: 7.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.8919, allocations: 483.9 kB / 0.6936 GB, free: 7.398 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.8919, allocations: 4 kB / 0.6936 GB, free: 7.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008395/0.8927, allocations: 477.2 kB / 0.6941 GB, free: 6.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.8927, allocations: 11.94 kB / 0.6941 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.8928, allocations: 12 kB / 0.6941 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.8928, allocations: 12 kB / 0.6941 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.8943, allocations: 211.7 kB / 0.6943 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000571/0.8949, allocations: 1.18 MB / 0.6954 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.8952, allocations: 24.44 kB / 0.6955 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/0.8953, allocations: 43.97 kB / 0.6955 GB, free: 5.387 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.0002026/0.8955, allocations: 157.7 kB / 0.6957 GB, free: 5.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8956, allocations: 31.7 kB / 0.6957 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/0.8984, allocations: 2.844 MB / 0.6985 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.8984, allocations: 23.97 kB / 0.6985 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.8984, allocations: 4 kB / 0.6985 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.8985, allocations: 4.312 kB / 0.6985 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.8994, allocations: 0.9711 MB / 0.6994 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.8994, allocations: 4 kB / 0.6994 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.9, allocations: 97.64 kB / 0.6995 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.9002, allocations: 160.1 kB / 0.6997 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.9002, allocations: 8 kB / 0.6997 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003583/0.9006, allocations: 0.6536 MB / 0.7003 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9006, allocations: 4 kB / 0.7003 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.9018, allocations: 0.9754 MB / 0.7013 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.9019, allocations: 128.4 kB / 0.7014 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.9021, allocations: 98.7 kB / 0.7015 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.9024, allocations: 16 kB / 0.7015 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.9024, allocations: 31.83 kB / 0.7016 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.9025, allocations: 16.81 kB / 0.7016 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005364/0.903, allocations: 475 kB / 0.702 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.903, allocations: 6.25 kB / 0.702 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004723/0.9077, allocations: 1.616 MB / 0.7036 GB, free: 12.91 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.009071/0.9168, allocations: 3.136 MB / 0.7067 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.9186, allocations: 0.5547 MB / 0.7072 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9187, allocations: 4 kB / 0.7072 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.9191, allocations: 361.6 kB / 0.7076 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.92, allocations: 138.9 kB / 0.7077 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8529/1.773, allocations: 353.4 MB / 1.053 GB, free: 104.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/1.773, allocations: 0.9858 MB / 1.054 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006818/1.774, allocations: 0.4993 MB / 1.054 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.774, allocations: 319.3 kB / 1.055 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.774, allocations: 3.656 kB / 1.055 GB, free: 103.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3365/2.111, allocations: 66.49 MB / 1.119 GB, free: 221.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/17.6, allocations: 6.016 kB / 1.119 GB, free: 221.6 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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